Passenger Action (Entity Action Type)
Executes an action on the passengers of the entity.
Executes an action on the passengers of the entity.
Type ID: apoli:passenger_action
!!! note
Not to be confused with Riding Action
Fields
| Field | Type | Default | Description |
|---|---|---|---|
action | Entity Action Type | optional | If specified, this action will be executed on the passenger entity. |
bientity_action | Bi-entity Action Type | optional | If specified, this action will be executed on either the ‘actor’ (the entity being ridden) or the ‘target’ (the passenger entity) or both. |
bientity_condition | Bi-entity Condition Type | optional | If specified, the specified actions will only be executed if this condition is fulfilled by either the ‘actor’ (the entity being ridden) or the ‘target’ (the passenger entity) or both. |
recursive | Boolean | false | If set to true, the specified action(s) will be executed on all the passenger entities. |
Examples
"entity_action": {
"type": "apoli:passenger_action",
"action": {
"type": "apoli:heal",
"amount": 2
},
"recursive": true
} This example will heal all entities that are currently riding the entity that executed this entity action type.