Hi, this is my first post also but so what?
So I'm making a PSG1 simulation like colj00 (big fan), but I can't get the script for not shooting when the variable Ammo is 0. I've got:
[blocks]
<when[ space ]key pressed>
<change{ Ammo }by( -1
<forever>
<if><( <{ Ammo }> <=> 0 )>
<else>
<end>
But I don't know exactly what to put in the spaces :L Need help!!!
Offline
Sonicloon wrote:
Hi, this is my first post also but so what?
So I'm making a PSG1 simulation like colj00 (big fan), but I can't get the script for not shooting when the variable Ammo is 0. I've got:
[blocks]
<when[ space ]key pressed>
<change{ Ammo }by( -1
<forever>
<if><( <{ Ammo }> <=> 0 )>
<else>
<end>
But I don't know exactly what to put in the spaces :L Need help!!!
Don't fill in all the spaces. What you have to do it set the Variable to 1 in the Else. Hope that helps!
Offline