No categories assigned
LUA:StartAutoMount
- Last edited 9 years ago by I need to Update My Profile
LUA - StartAutoMount
Return to: LUA | Tutorials | Portal | Forum | Project Manager | Bug Tracker
LUA Functions: StartAutoMount()
Starts the given auto mount for the given player
Syntax
StartAutoMount(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (int32)
- param1 is the player we want to put on an auto mount
- param2 is the path id to travel
Usage
function hailed(NPC, Player)
StartAutoMount(Player, 1)
end
When hailed this NPC would start the player on an auto mount along the path with ID 1
Notes
Can only be used on a player
Path ID must be greater then 0 and must be in the same zone