SetEntityCarryable
Takes a body out of the players’ grab, or puts it back.
With false the game’s “grab” prompt does not show on this entity and a player’s ask for it is refused - the mode’s own orders
(CarryEntity, ActorCarryEntity) still carry it. The default is true (as far as the rules of SetCarrying allow).
It lasts as long as the entity does, or until a mode reload (ReloadGameMode). The entity’s state key carry is the
server’s (see the group’s description).
Syntax
Section titled “Syntax”SetEntityCarryable(id [, enabled])| Parameter | Type | |
|---|---|---|
id |
number | the entity |
enabled |
boolean | false takes it out of the grab, true (the default) puts it back (optional) |
Returns
Section titled “Returns”boolean - false when there is no such entity
Example
Section titled “Example”-- the guards' quest corpse stays where it liesSetEntityCarryable(questBody, false)See also
Section titled “See also”SetCarrying · CarryEntity · the Carrying group of the index
