Aller au contenu

Photo

Conversation setting question


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

#1
El Condoro

El Condoro
  • Members
  • 148 messages
The "Once per creature that uses this conversation" setting seems to be bringing me undone. I assumed that it would not fire for each creature until it is selected. However, I am having a lot of trouble with them not firing when I assume they should.

So, my question is, do nodes with this setting get affected if the conversation runs and the nodes are NOT used?

For example, PC speaks to NPC and does NOT use the node with this setting but does complete the conversation. Will the node be available for the PC next time he speaks with the NPC?

#2
Lugaid of the Red Stripes

Lugaid of the Red Stripes
  • Members
  • 955 messages
I think it functions like a conversation conditional script, which means that it will get displayed once and only once, even if the player doesn't select it. I'm pretty sure they are meant to be used on NPC lines, so the developers didn't anticipate your problem. It's pretty simple to rig up a custom system, though, just have a conditional script that checks a variable that's set by an action script on the same node. The action script won't fire unless the player actually selects the line. In a MP environment, you might have to create a custom pair of scripts that checks and sets a unique variable on the PC or the NPC speaker (i.e. SetLocalInt(OBJECT_SELF, "iNodeFired" + sPCName, 1); ).

#3
dunniteowl

dunniteowl
  • Members
  • 1 559 messages
Could you set the convo to add a Journal entry to the PC speaker and have the conditional look for that Journal Entry marker and then -- and only then -- not offer that convo option? In that way, in an MP environment, each PC would have to have the Journal entry or conditional active in their Journal before the Fire Once Per PC would not activate. And this would be checked by the NPC or Creature convo script.

Am I making any sense?

dunniteowl

#4
El Condoro

El Condoro
  • Members
  • 148 messages
Yeah, I think the Local variable is the way to go. Thanks.

@dno: must have entered at around the same time. The Journal option sounds a little complicated for what I am trying to achieve but it's and interesting idea to try out. Thanks.

Modifié par El Condoro, 03 février 2011 - 11:18 .