angelwraith Posted March 13, 2010 Posted March 13, 2010 i need to clear a formlist of all its contents.. this is what i tried.. freeze every time.. i get that the labels are causing a loop but no idea why the conditionals arent working to bypass them at the right time??!! label 1 set myCount to (ListGetCount SUBsortAdvancedWeapList) if (myCount > -1) ListRemoveNthForm SUBsortAdvancedWeapList myCount set myCount to (myCount - 1) goto 1 endif
schlangster Posted March 13, 2010 Posted March 13, 2010 misplaced label :) after every jump set myCount to (ListGetCount SUBsortAdvancedWeapList) resets your variable
angelwraith Posted March 13, 2010 Author Posted March 13, 2010 misplaced label :) after every jump set myCount to (ListGetCount SUBsortAdvancedWeapList) resets your variable omg DUH!!! thank you soo much how in the hell did i miss that??!??!
Recommended Posts