Mode Changes Automatically in Sequence
#3

Well you would need to increment the variable currentmode, instead of it being assigned randomly.

Instead of this in switchmode()
PHP код:
randmode randomsizeof (ModeInfo) ) 
Something like this in switchmode()
PHP код:
if(randmode sizeof(ModeInfo)) {
   
randmode++;
}
else {
   
randmode 0;

Make sure randmode is a global variable.
Reply


Messages In This Thread
Mode Changes Automatically in Sequence - by SpikY_ - 04.08.2015, 11:46
Re: Mode Changes Automatically in Sequence - by SpikY_ - 04.08.2015, 12:30
Re: Mode Changes Automatically in Sequence - by Krokett - 04.08.2015, 12:43
Re: Mode Changes Automatically in Sequence - by SpikY_ - 04.08.2015, 12:46
Re: Mode Changes Automatically in Sequence - by Crayder - 04.08.2015, 12:49
Re: Mode Changes Automatically in Sequence - by SpikY_ - 04.08.2015, 13:01
Re: Mode Changes Automatically in Sequence - by SpikY_ - 04.08.2015, 15:27
Re: Mode Changes Automatically in Sequence - by goldspy98 - 04.08.2015, 17:25
Re: Mode Changes Automatically in Sequence - by Inn0cent - 04.08.2015, 17:36
Re: Mode Changes Automatically in Sequence - by SpikY_ - 04.08.2015, 17:52

Forum Jump:


Users browsing this thread: 3 Guest(s)