HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

LOOP question

07-04-2004, 10:41 AM#1
sATARa
Is it ok to use "wait" in loops?
07-04-2004, 01:17 PM#2
AIAndy
Yes, but you should then use local variables for the variable you use to loop (and not IntegerA).
07-04-2004, 06:10 PM#3
sATARa
Quote:
Originally Posted by AIAndy
Yes, but you should then use local variables for the variable you use to loop (and not IntegerA).

The thing is I would need to run the loop as long as the custom value of my triggering unit (intiger attached to a unit)
is larger than 0... but I would like to use a wait for "(custom value) x 5 seconds" in my loop. Can I do this?
07-04-2004, 11:17 PM#4
AIAndy
Yes, sure, that will cause no problems.
07-05-2004, 10:05 AM#5
sATARa
Thx man :)