Aller au contenu

Photo

Is it possible to make a PC talk like an NPC during a conversation?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
simomate2

simomate2
  • Members
  • 73 messages
As I understand it, you can script it to force the PC to start a conversation with themself, but is it possible, during a conversation, to make the PC speak as though they're an NPC? I ask because I've began developing a story driven module in which the player must be a character named Atrix, who has his own personality and backstory. I would like to have it, if possible, like this:

NPC: Hello there!
PC: [CONTINUE]
NPC (But it's actually the PC): Hello.

Does that make sense? Is it possible?

#2
Shadooow

Shadooow
  • Members
  • 4 470 messages
Yes, using NWScript function SpeakString();

#3
Squatting Monk

Squatting Monk
  • Members
  • 445 messages
In the conversation editor, you can specify who speaks a node. Whoever the PC is speaking to is considered Owner, but you can pull others into the conversation by specifying their tag. So if you have the PC start the conversation with himself, he will be considered Owner and speak those lines. You can then have the NPC speak his lines by specifying the NPC's tag on his nodes.