1
0
EQ2Emu/docs/lua_functions/GetBoundZoneID.md

20 lines
386 B
Markdown

### Function: GetBoundZoneID(spawn)
**Description:**
Gets the zone id the Spawn(Player) is bound in.
**Parameters:**
- `spawn` (Spawn) - Spawn object representing `spawn`.
**Returns:** Returns UINT32 of the Zone ID.
**Example:**
```lua
-- From Spells/Commoner/CalltoHome.lua
function precast(Caster, Target)
if GetBoundZoneID(Caster) == 0 then
return false
end
```