Two conditions for a dialog - is it possible?
Author | Topic: Two conditions for a dialog - is it possible? |
---|---|
Infiltrator
Member # 760
|
written Monday, June 14 2004 06:14
Profile
Is it possible to have two different conditions for a dialog? Example: state = 2; nextstate = 3; condition1 = get_flag(3,3) == 0; condition2 = get_flag(4,4) == 0; Can that be achieved? [ Monday, June 14, 2004 06:15: Message edited by: Wizard ] -------------------- "The Darkness Shall Return!" Posts: 642 | Registered: Saturday, March 16 2002 08:00 |
Agent
Member # 4506
|
written Monday, June 14 2004 07:39
Profile
Homepage
quote:Just test it yourself - then you know if it works or not... -------------------- "You dare Trifle with Avernum?" ~ Erika the Archmage -------------------- My Scenarios: Undead Valley : A small Undead problem, what could possibly go wrong? -------------------- Richard Black - PROOF of his existance (the Infernal one's website). -------------------- MY FORUM! Randomosity at it's highest! :) Posts: 1370 | Registered: Thursday, June 10 2004 07:00 |
Board Administrator
Member # 1
|
written Monday, June 14 2004 10:19
Profile
Homepage
Yes, Use &&. - Jeff Vogel -------------------- Official Board Admin spidweb@spiderwebsoftware.com Posts: 960 | Registered: Tuesday, September 18 2001 07:00 |
Infiltrator
Member # 154
|
written Monday, June 14 2004 11:08
Profile
quote:Try. condition1 = (get_flag(3,3) == 0) && (get_flag(4,4) == 0)); [ Monday, June 14, 2004 11:08: Message edited by: Grey-Eyed Stranger ] -------------------- Apparently still annoying. Posts: 612 | Registered: Saturday, October 13 2001 07:00 |
Infiltrator
Member # 760
|
written Tuesday, June 15 2004 00:35
Profile
Yay, got it working :) Thanks for answers! -------------------- "The Darkness Shall Return!" Posts: 642 | Registered: Saturday, March 16 2002 08:00 |