Passenger Action (Entity Action Type)
Runs an action on the entities riding this entity.
Type ID: apoli:passenger_action
note
For the opposite direction, the entity this one is riding, see Riding Action.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
action | Entity Action Type | optional | Runs on each passenger. |
bientity_action | Bi-entity Action Type | optional | Runs with the entity being ridden as the actor and the passenger as the target. |
bientity_condition | Bi-entity Condition Type | optional | The actions only run on a passenger when this passes, with the entity being ridden as the actor and the passenger as the target. |
recursive | Boolean | false | With true, the actions also run on indirect passengers, such as the passengers of a passenger. |
Examples
"entity_action": {
"type": "apoli:passenger_action",
"action": {
"type": "apoli:heal",
"amount": 2
},
"recursive": true
}This heals every entity riding the entity that ran the action, including anything riding on top of them.