this is my last question then my rotor will be done.
ok i have
simulated event DrivingStatusChanged()
{
if (bDriving)
Enable('Tick');
else
SpinDown=True;
wait(!SpinDown)
Disable('Tick');
}
now i know wait dose not work but i whant to know how or what i can put there so that it dosent end Tick untill SpinDown == false.
ok i have
simulated event DrivingStatusChanged()
{
if (bDriving)
Enable('Tick');
else
SpinDown=True;
wait(!SpinDown)
Disable('Tick');
}
now i know wait dose not work but i whant to know how or what i can put there so that it dosent end Tick untill SpinDown == false.
Comment