1
0
EQ2Emu/docs/lua_functions/SetGridID.md
2025-05-25 21:42:32 -04:00

464 B

Function: SetGridID(spawn, grid)

Description: Set's the grid id of the spawn. See /grid for more information on the grid id.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • grid (uint32) - Integer value grid.

Returns: None.

Example:

-- From SpawnScripts/FallenGate/atormentedbattlemage_A.lua
function Change_Grid_A(NPC)
	 Say(NPC, "This is the Change_Grid_A function")
	 SetGridID(NPC, 3104458931)
end