OnActorMount
An actor sits on its horse - MountActor’s climb is done.
Syntax
Section titled “Syntax”function OnActorMount(id, horse) -- ...end| Parameter | Type | |
|---|---|---|
id |
number | the actor |
horse |
number | the horse |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”-- the courier rides off to the mill once it sitsfunction OnActorMount(id, horse) if id == courier then MoveActor(id, 1310, 990, -1, 7) endendSee also
Section titled “See also”MountActor · OnActorDismount · OnActorArrive · the Actor life group of the index
