mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
386 B
386 B
Function: GetBoundZoneID(spawn)
Description: Gets the zone id the Spawn(Player) is bound in.
Parameters:
spawn(Spawn) - Spawn object representingspawn.
Returns: Returns UINT32 of the Zone ID.
Example:
-- From Spells/Commoner/CalltoHome.lua
function precast(Caster, Target)
if GetBoundZoneID(Caster) == 0 then
return false
end