You are viewing an old version of this page. Return to the latest version.
No categories assigned
LUA:AddTransportSpawn
- Last edited 4 years ago by Vlash Nytefall
LUA Functions: AddTransportSpawn()
Adds a spawn to it's zone's list of lifts/boats, allowing the server to track any player's location while riding this lift/boat.
Syntax
AddTransportSpawn(param1)
Parameters
- Required - param1 (Spawn*)
- param1 is the spawn to set as a lift
Usage
function spawn(NPC)
AddTransportSpawn(NPC)
end
When this spawn pops ingame, the spawn will be added to the zone's transport spawn list. This lets the server keep track of where players are located while riding this lift.