How can I make this a working code. If the sheild is on the player can not shoot. All that the MoveOK var. is for is so the player can add controls, if it is at 0 all controls are void.
if(SheildOn==1)
{
if(MoveOK==1)
{
CreateActor("Shot", "Shot", "(none)", "(none)", 0, 0, false);
}
else
{
}
else
{
}