Wizard Posted June 14, 2004 Share Posted June 14, 2004 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? Link to comment Share on other sites More sharing options...
Archmagus Micael Posted June 14, 2004 Share Posted June 14, 2004 Quote: Originally written by Wizard: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? Just test it yourself - then you know if it works or not... Link to comment Share on other sites More sharing options...
Spidweb Posted June 14, 2004 Share Posted June 14, 2004 Yes, Use &&. - Jeff Vogel Link to comment Share on other sites More sharing options...
UA Posted June 14, 2004 Share Posted June 14, 2004 Quote: Originally written by Wizard: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? Try. Code: condition1 = (get_flag(3,3) == 0) && (get_flag(4,4) == 0)); Link to comment Share on other sites More sharing options...
Wizard Posted June 15, 2004 Author Share Posted June 15, 2004 Yay, got it working Thanks for answers! Link to comment Share on other sites More sharing options...
Recommended Posts