No categories assigned
LUA:SetIllusion
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: SetIllusion()
Sets the illusion of the given spawn
Syntax
SetIllusion(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (int16)
- param1 is the spawn who's illusion we want to set
- param2 is the model id we want the illusion to be
Usage
function cast(Caster, Target)
SetIllusion(Target, 203)
end
When this spell is cast it will give the target the illusion of lady vox
Notes
Will use spell targets over the provided spawn if used in a spell script
SetIllusion(Target) or SetIllusion(Target, 0) is the same as ResetIllusion()