added Hearing feature authored by Lxlp's avatar Lxlp
...@@ -11,8 +11,7 @@ Table Of Contents: ...@@ -11,8 +11,7 @@ Table Of Contents:
[[_TOC_]] [[_TOC_]]
Breaking Down The Mob Configuration ## Breaking Down The Mob Configuration
-------------------------
#### Internal_Name #### Internal_Name
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.
... ...
......