Lauriel Posted December 30, 2021 Share Posted December 30, 2021 In a dialogue with an NPC, I wanted it to switch to whom it was speaking. For instance, in a multiplayer game, having it switch focus from Player1 to Player2 (using 'DO ~SetGabber(Player2)~ GOTO NextState'). It didn't seem to work. Player 1 is still the one that responds. I had to do a 'DO ~StartDialogue(Player2)~ EXIT' for a response action to get the it work properly. Did I do something wrong? Does it not work? I searched through all the dialogues using NI and its only used in AATAQAH.DLG so there's not a lot of examples to go by. Quote Link to comment
CamDawg Posted December 30, 2021 Share Posted December 30, 2021 Actions in dialogues don't always go into effect right away. Anecdotally, I feel like you need to go through a state or two until the actions are processed, e.g. if I set a variable in a dialogue, I usually need a line or two until I can reliably check the newly-set variable. (And before anyone points it out: actions not in instant.ids get queued for post-dialogue, but SetGabber is in instant.) Quote Link to comment
Lauriel Posted December 30, 2021 Author Share Posted December 30, 2021 2 minutes ago, CamDawg said: I feel like you need to go through a state or two until the actions are processed, Ok, thank you. It's not very handy action, then is it. LOL No wonder it's not used much. Thanks again! Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.