Expandable For Loop by Libervurto10th Aug 2007 19:30
|
---|
Summary Small piece of code that allows you to adjust your for loop depending on how many entities exist/need to be checked. This also performs a double function as it will return the tota Description Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com max=1 For n = 1 to max if object exist(n) then inc max Next n total = max |