This string will be how your mob will be referenced internally in MythicMobs and can be any name you like.
This string will be how your mob will be referenced internally in MythicMobs and can be any name you like.
...
@@ -300,6 +299,19 @@ ExampleMob:
...
@@ -300,6 +299,19 @@ ExampleMob:
```
```
#### Hearing
Allows the mob to "hear" sounds like a warden would.
Turning this on enables the new [~onHear](Skills/Triggers#onhear) trigger.
```yaml
ICanHearYou:
Type:ZOMBIE
Hearing:
Enabled:true
Skills:
-message{m="I can hear you <trigger.name>! <skill.var.volume>? Way too loud!"} @trigger
```
#### Variables
#### Variables
Instead of using a lot of `setvariable` mechanics `~onSpawn`, you can make a mob spawn with already set [variables](Skills/Variables) via the use the of Variables mob field.
Instead of using a lot of `setvariable` mechanics `~onSpawn`, you can make a mob spawn with already set [variables](Skills/Variables) via the use the of Variables mob field.