Skip to content

DismountActor

Gets an actor off its horse with the game’s dismount.

About three seconds; the actor then stands beside the horse and OnActorDismount runs. instant = true sets it down at once. The horse stays where it is, loose - a player may take it, or DestroyEntity it.

DismountActor(id [, instant])
Parameter Type
id number the actor
instant boolean true = at once (optional)

boolean - false when it rides no horse

function OnActorArrive(id)
if id == courier then DismountActor(id) end -- at the inn: off the horse
end

MountActor · OnActorDismount · the Actor life group of the index