Mechanic
signal
Sends a signal to the target mob
Aliases
sendSignal
Examples & Notes
Examples
This example would make the “Master” mob signal it’s minions a radius of 20 blocks to shoot an arrow the nearest players, relative to the minions positions, upon being damaged.
# Mob file:
Master:
Type: zombie
Skills:
- summon{m=Minion} @self ~onSpawn
- signal{s=ATTACK} @MobsInRadius{r=10;t=Minion} ~onDamaged
Minion:
Type: baby_zombie
Skills:
- skill{s=ShootAttacker} @NearestPlayer ~onSignal:ATTACK
# Skill file:
ShootAttacker:
Skills:
- shoot{t=arrow}
Universal Mechanic Options
Mentioned by
- Author:
- Ashijin
