RemoveControlEffect(Spawn: Entity, Int8: Type)
Pre-Requisite(s)
- AddControlEffect(Spawn: Entity, Int8: Type, Bool: OnlyAddSpawn) needs to be called inside the same Spell Script.
- Must be ran inside a Spell Script
Parameter(s)
Spawn: Entity - Spawn LUA Pointer of Player, NPC or Bot type only.
Int8: Type - Control Effect Types
Return(s)
- None
Example(s)
– Taken from Spells\Commoner\Disorientation.lua
function remove(Caster, Target)
RemoveControlEffect(Target, 4) – Removes stun effect previously set on Entity by AddControlEffect
end
Result
Additional Notes