Skip to main content

Grabbed (Bi-Entity Condition Type)

Checks whether the actor is holding the target with an apoli:grab. The roles are the same as in the grab action: the actor holds and the target is held. To ask the other way round, wrap it in apoli:invert.

Type ID: apoli:grabbed

This condition has no fields. To check whether anyone is holding an entity, use the entity condition of the same name.

Example

"bientity_condition": {
    "type": "apoli:grabbed"
}

In an apoli:action_on_hit, this limits the power to hits on whoever the actor is carrying.

warning

Grabs are tracked on the server, so this condition is always false when the client evaluates it.