LoadEntityOnHorse
Lays a body or an NPC actor across a horse - the mode’s own order.
As LoadPlayerOnHorse, for a character’s body that lies dead (an NPC actor’s, a dead player’s corpse) or an NPC actor (a living
one shows knocked out there and leaves its seat or work). Refused for an animal, a body somebody searches, an actor that rides or
sits in a cart, and for the horse as in LoadPlayerOnHorse.
Syntax
Section titled “Syntax”LoadEntityOnHorse(horseId, entityId)| Parameter | Type | |
|---|---|---|
horseId |
number | the horse’s entity id |
entityId |
number | the body or the actor |
Returns
Section titled “Returns”boolean, string - true when it lies across the horse; false and the reason when not
Example
Section titled “Example”local ok, why = LoadEntityOnHorse(horse, corpse)if not ok then Log("no load:", why) endSee also
Section titled “See also”LoadPlayerOnHorse · UnloadHorse · GetHorseLoad · the Carrying group of the index
