sendPrivateMessage + NPC avatar

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
svizzari
Posts: 64
Joined: 18 Jun 2010, 11:55

sendPrivateMessage + NPC avatar

Post by svizzari »

Hey guys -- wondering about this...

I have a number of NPC's in a room and I'd like one of them to display speech bubbles at times.

I'm wondering whether there is any reasonable way to use the SFS API to achieve this. sendPrivateMessage *looks* like it would do what is required but the NPC's onMessage handler doesn't fire even though it is the recipient.

Is there some other way I could achieve what I have described here?

thanks
Post Reply