Origins: Powerful Powers
» Entity actions » Emit signal

Emit signal

origins-powerful-powers:emit_signalentity action

Sends a named signal from the entity.

FieldTypeDefaultDescription
signalStringrequiredThe name, like mypack:war_cry. Without a namespace it gets origins-powerful-powers:. Names are lowercased.
radiusDoublenoneOnly entities within this many blocks, in the same dimension, hear it. Left out: every loaded entity in every dimension.
  • Cost: with a radius, only entities in that area are checked. Without one, every loaded entity in the world is checked, so save those for rare moments.

Example: "War cry". Your primary key sends a signal 24 blocks around you.

json
{
  "type": "origins:active_self",
  "key": {
    "key": "key.origins.primary_active"
  },
  "cooldown": 200,
  "entity_action": {
    "type": "origins-powerful-powers:emit_signal",
    "signal": "mypack:war_cry",
    "radius": 24
  }
}