You are viewing an old version of this page. Return to the latest version.
Version of 20:54, 15 October 2012 by I need to Update My Profile
No categories assigned
LUA:ApplySpellVisual
- Last edited 4 years ago by Vlash Nytefall
LUA Functions: ApplySpellVisual()
Makes the given spawn play the given spell animation.
Syntax
ApplySpellVisual(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (int32)
- param1 is the spawn to play the animation
- param2 is the animation id to play
Usage
function hailed(NPC, Spawn)
ApplySpellVisual(NPC, 869)
end
The NPC will play the falling coins animation used for the lotto.
Notes
The id given by param2 are the id's in reference_spell_effects table in the DB.