You are viewing an old version of this page. Return to the latest version.
No categories assigned
LUA:Zone
LUA:AllFunctions - Zone
Return to: LUA:AllFunctions | Tutorials | Portal | Forum | Project Manager | Bug Tracker
Zone Spawn to another location the the game.
Syntax
Zone(param1, param2, [opt param3], [opt param4], [opt param5], [opt param6])
Parameters
- Required - param1 (Zone name), param2 (Spawn)
- param1 name of the zone you wish to sned spawn to
- param2 is the spawn pointer of the spawn you wish to zone
Example
function hailed(NPC, Player)
Zone(GetZone(184), Player, 9.65, 17.21, -68.72, 184)
end
1. When the NPC is hailed it will zone the player to zone 184 at the list coordinates 2. When the NPC is hailed it will zone the player to zones default coordinates