What's the difference between viewers and hearers?
The reference says that hearers "is just like viewers(), but it is a list of mobs that can hear the center object."
So which mobs are they? Are they the same as any mobs in view? Is it any mobs that would be visible if not for invisibility or darkness?
ID:158348
Sep 12 2009, 8:54 pm
|
|
If you use the forum search you'd find a few posts where I've explained this already, and maybe others, such as this one: [link].
@Jemai: Yeah, what you said isn't wrong. |
In response to Jemai1
|
|
Thank you. It would be good if this was in the documentation though:
"This proc is similar to viewers() but does not take into account invisibility, sight, <list of other vars>" |
"Currently, this is computed on the assumption that opaque objects block sound, just like they block light".
Correct me if I'm wrong. Base on my understanding, vars like 'sight' and 'invisibility' are not taken into account.