Aller au contenu

Photo

Filter Chat to Perceived Creatures (for PCs & NPCs in PW)


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
gedweyignasia

gedweyignasia
  • Members
  • 16 messages

Someone complained about an NPC's placement in a module because their quest-giving dialogue could be heard through the adjoining wall in the Persistent World. It made me think...

 

Is there some way to script chat to only be issued to creatures that you could perceive? (I say could because we've got issues like stealth, invisibility, etc.) There's obviously some sort of checking going on, since creatures on the other side of a hill or around a corner don't show up until you round that corner. Could this be replicated for PCs, at least with talk?



#2
kamal_

kamal_
  • Members
  • 5 250 messages
You can certainly make an npc talk to a player only if it can actually perceive a player (so the npc doesnt confront stealthed characters for instance) or the player initiates the convo (coming out of stealth to do so). I did that for Crimmor. As for dialog being heard by other players that shouldnt be heard by them, but is due to distance on a map, not sure.