ActorPutDown
Has an NPC actor put down what it carries.
The put takes about two and a half seconds, then the body lies at x, y, z (and yaw, degrees, which counts only together with
x, y, z) when given, else a step ahead of the actor. Ordered while the actor still grabs, it waits for the grab to finish. false when the actor carries
nothing.
Syntax
Section titled “Syntax”ActorPutDown(actorId [, x, y, z, yaw])| Parameter | Type | |
|---|---|---|
actorId |
number | the NPC actor |
x |
number | metres (optional) |
y |
number | metres (optional) |
z |
number | metres (optional) |
yaw |
number | degrees (optional) |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”ActorPutDown(guard, cellX, cellY, cellZ, 180)See also
Section titled “See also”ActorCarryEntity · ActorCarryPlayer · the Carrying group of the index
