GetActorHorse
The horse an actor is on.
Syntax
Section titled “Syntax”GetActorHorse(id)| Parameter | Type | |
|---|---|---|
id |
number | the actor |
Returns
Section titled “Returns”number | nil - the horse while it climbs on, rides or climbs off; nil on foot
Example
Section titled “Example”local horse = GetActorHorse(courier)if horse then SetHorseCoat(horse, "black") endSee also
Section titled “See also”MountActor · IsActorMounted · the Actor life group of the index
