Toggle
Toggles the state of a power that uses the Toggle (Power Type).
Type ID: origins:toggle
Fields
Field | Type | Default | Description |
---|---|---|---|
power |
Identifier | The namespace and ID of the power that uses the Toggle (Power Type). |
Examples
"entity_action": {
"type": "origins:toggle",
"power": "origins:phantomize"
}
This example will toggle the state of the origins:phantomize
(data/origins/powers/phantomize.json
) power (e.g: ON --> OFF, OFF --> ON).