Notes |
|
(0001940)
|
XuN
|
05-02-14 15:39
|
|
I can't reproduce this, and the code is not revealing any issue related either... this text is called on NPC_OnHear() wich is called when you say anything and this npc hears it. |
|
|
(0001942)
|
Coruja
|
06-02-14 00:17
|
|
probably there's the mistery, I tried on my custom vendor, which open a dialog and the dialog button uses "HEAR something" to call others
[EVENTS e_custom_vendor] //event running on vendor
ON=@DClick
FACE <SRC>
...
SDIALOG d_vendor
[DIALOG d_vendor button]
ON=0
FACE <SRC>
BOW
ON=1
HEAR browse
ON=2
HEAR collect
ON=3
...
So now I dont know if it's really a bug, I already fixed removing this msg from sphere_msgs. But it would be great a simple 'cansee' check because it doesn't makes sense if someone say "Sorry but I must talk to xxx" if this player xxx cant seen by anyone. Even really using a spoken command (onhear) the player can use hidding/invisibility or just run away :D |
|
|
(0001943)
|
XuN
|
06-02-14 19:23
|
|
It's not a bug, there is already a Cansee() check in the code so the npcs don't interact with invisible characters, however if I block it in the OnHear() inside code you couldn't make them use hear xxx while invisible, so I think it should be up to you block it or not with a simple if !(<statf>&statf_invisible). |
|