mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
464 B
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 representingspawn.grid(uint32) - Integer valuegrid.
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