Announcement: Remember: you are giving away your fantastic ideas for free, and somebody else might even make money from them (or appear to). That's just how the world works! If you're worried about it, maybe you shouldn't post your ideas here.


Caravel Forum : DROD Boards : Feature Requests : small suggestion (about "wait until var")
New Topic New Poll Post Reply
Poster Message
Timo006
Level: Smitemaster
Avatar
Rank Points: 518
Registered: 07-19-2006
IP: Logged
icon small suggestion (0)  
Sometimes, If you set a "wait until var" command you have a small problem if you want to wait for a var that is not equal to a certain number. It is possible to do it but that takes some time. Because of that, I suggest that it could have something like "wait until var is not equal to (put any number)".

____________________________
Drod Number: 3034; 8th person to see the Second Sky
04-17-2007 at 09:02 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Jatopian
Level: Smitemaster
Rank Points: 1842
Registered: 07-31-2005
IP: Logged
icon Re: small suggestion (0)  
Isn't there a "Wait While Var " command?

____________________________
DROD has some really great music.
Make your pressure plates 3.0 style!
DROD architecture idea generator
04-17-2007 at 11:37 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
schep
Level: Smitemaster
Avatar
Rank Points: 865
Registered: 03-01-2005
IP: Logged
icon Re: small suggestion (+2)  
Jatopian wrote:
Isn't there a "Wait While Var " command?
No, we have "Wait until var", which supports "Equals", "Equals text", "Greater than", or "Less than". Complements to all of these would probably be a good idea, whether it's a new Wait While command or new options like "Not equal to" ... "Greater or equal to".

For anyone wondering how to do this with what we have already:
Label "VarLoop"
  If ...
          Wait until var X = Y
    Wait 0 turn(s)
    Go to "VarLoop"
  End if

You'll end up at the end of that block the first time X is not equal to Y.
04-18-2007 at 12:21 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Feature Requests : small suggestion (about "wait until var")
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.