No categories assigned
LUA:IsGateAllowed
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: IsGateAllowed()
Checks to see if the given spawn can gate
Syntax
var = IsGateAllowed(param1)
Parameters
- Required - param1 (Spawn)
- param1 is the spawn we want to check
Usage
function cast(Caster, Target)
if IsGateAllowed(Caster) then
Gate(Caster)
end
end
This spell will check to see if the caster can gate before actually trying to gate
Notes
Returns a bool