Invert
Swaps the context of the target entity and the actor entity.
Type ID: apoli:invert
Note
Only available as a Bi-entity Action
Fields
| Field | Type | Default | Description |
|---|---|---|---|
action |
Bi-entity Action | The bi-entity action to execute which will have its 'target' and 'actor' contexts swapped. |
Example
"bientity_action": {
"type": "apoli:invert",
"action": {
"type": "apoli:mount"
}
}
This will make the target of the action mount the actor, as the roles are swapped.