Doube IF scripting:
Posted: Sun Jun 10, 2007 7:11 pm
I need to make an doube if statement, and can't seem to get it right... It needs to depend on two variables, such as:
if(shieldup = 0) & (udi_shield.textNumber=>0)
{
CreateActor("shieldtest", "shield00000", "(none)", "(none)", 0, 0, false);;
udi_shield.textNumber-=1;;
}
But this obviously isn't scripted correctly... anyone?
if(shieldup = 0) & (udi_shield.textNumber=>0)
{
CreateActor("shieldtest", "shield00000", "(none)", "(none)", 0, 0, false);;
udi_shield.textNumber-=1;;
}
But this obviously isn't scripted correctly... anyone?