Passenger Action

Entity Action

Executes an action on the passengers of the entity.

Type ID: apoli:passenger_action

Fields

Field Type Default Description
action Entity Action optional If set, executes the specified action on the passenger entity.
bientity_action Bi-entity Action optional If set, executes the specified action that can execute on both the passenger and the entity that's being ridden.
bientity_condition Bi-entity Condition optional If set, only execute the specified actions if the bi-entity condition is fulfilled.
recursive Boolean false If set to true, executes the specified actions on all the passenger entities, if there are more than one.

Example

"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 action.