mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
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