Skip to content

Act On Owner

Provismet edited this page Sep 9, 2023 · 2 revisions

Entity Action Type

Performs a bientity action on the owner of this tamed entity. The tamed entity is the actor and the owner is the target.

Type ID: proviorigins:owner_bientity

Fields

Field Type Default Description
bientity_action Bientity Action The action to perform.
bientity_condition Bientity Condition Optional The bientity action will only execute if this condition is met.

Examples

"entity_action": {
    "type": "origins:self_action_on_kill",
    "entity_action": {
        "type": "proviorigins:owner_bientity",
        "bientity_action": {
            "type": "origins:target_action",
            "action": {
                "type": "origins:heal",
                "amount": 2
            }
        }
    }
}

This power heals the owner of a tamed entity when that entity kills another.

Clone this wiki locally