Page 1 of 1

Runtime

Posted: Fri Jul 23, 2010 2:10 am
by borbarad3
Can i say sript/waypoint only run 20 times, 30 times?
or only in minits?

Thx

Re: Runtime

Posted: Fri Jul 23, 2010 5:00 am
by rock5
borbarad3 wrote:Can i say sript/waypoint only run 20 times, 30 times?
or only in minits?

Thx
Which do you want to do?

Re: Runtime

Posted: Fri Jul 23, 2010 5:36 am
by swietlowka
yes u can: http://www.solarstrike.net/wiki/index.p ... _Variables
add any of those variables to your last waypoint, and in first waypoint add check for the number in this variable
like :
self.free_counter1 = self.free_counter1 + 1 in the last waypoint and this:

if( self.free_counter1 > 20 ) then
printf("do some other coding stuff"); <- here u add what you need to do, like change char, change profile, or just end botting
end;

in the beggining of your waypoint