Skip to content

GetEntityCarrier

Who carries the body.

GetEntityCarrier(id)
Parameter Type
id number the entity - a body, or an NPC actor

string, number - the kind - "player" or "actor" - and the id (a player’s id, or the entity id); nil when nobody carries it

if GetEntityCarrier(corpse) then return end -- not while somebody has it on their shoulder
DestroyEntity(corpse)

GetPlayerCarrying · CarryEntity · the Carrying group of the index