No categories assigned
LUA:AddTransportSpawn
- Last edited 4 years ago by Vlash Nytefall
LUA:AllFunctions - AddTransportSpawn
Return to: LUA:AllFunctions | Tutorials | Portal | Forum | Project Manager | Bug Tracker
Syntax
AddTransportSpawn(param1)
Parameters
- Required - param1 (Spawn)
- param1 is the spawn to set as a lift
Example
function spawn(NPC)
AddTransportSpawn(NPC)
end
When this spawn pops ingame, the spawn will be added to the zone's transport spawn list.
Notes
This lets the server keep track of where players are located while riding this lift.