Action On Reply (Power Type)
Runs a bi-entity action when another player answers the holder in voice chat.
Held by the actor. When another player starts speaking near the holder shortly after the holder spoke, runs a Bi-Entity Action with actor = the holder and target = the responder.
Type ID: apoli:action_on_reply
Fields
| Field | Type | Default | Purpose |
|---|---|---|---|
bientity_action | Bi-Entity Action | optional | Run with actor = holder, target = responder. |
window | Integer | 60 | How many ticks after the holder spoke a reply still counts. |
range | Double | 16.0 | Maximum distance in blocks between holder and responder. |
Example
Answer within three seconds from ten blocks and you get shoved:
{
"type": "apoli:action_on_reply",
"window": 60,
"range": 10.0,
"bientity_action": {
"type": "apoli:target_action",
"action": { "type": "apoli:add_velocity", "y": 0.8 }
}
}