int StartingConditional() { int iResult=GetLocalInt(OBJECT_SELF,"armed"); if (iResult==0) { iResult=1; } else { iResult=0; } return iResult; }