585 B
585 B
Function: SetSpawnAnimation(spawn, anim_id, leeway)
Description: Set's the spawn animation of the spawn, leeway adds a delay in milliseconds. See appearance id's at https://wiki.eq2emu.com/ReferenceLists for animation ids.
Parameters:
spawn
(Spawn) - Spawn object representingspawn
.anim_id
(uint32) - Integer valueanim_id
.leeway
(uint16) - Integer valueleeway
.
Returns: None.
Example:
-- From SpawnScripts/Antonica/anearthcrawler.lua
function spawn(NPC, Spawn)
NPCModule(NPC, Spawn)
SetSpawnAnimation(NPC, 13016)
end