Skip to content

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).

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)

boolean - false when there is no such entity

-- the guards' quest corpse stays where it lies
SetEntityCarryable(questBody, false)

SetCarrying · CarryEntity · the Carrying group of the index