Search found 1 match

by noobscripter
Sat Jun 03, 2006 6:07 pm
Forum: RF Scripting
Topic: Toggle on/off Low Level
Replies: 5
Views: 1170

Toggle on/off Low Level

Can someone explain to me why this snppet wont turn on then off ?
Running Low Level.

Switch [false]

Idle[()
{
if( self.key_pressed = 52)
{
if(Switch=false)
{
Switch=true;
}
if(Switch=true)
{
Switch=false;
}
}
}]

It will only tunr True 1 time. It wont do a simplr toggle to true / false ...