void main() { SetLocalInt(GetModule(),"DomeDefDead",(GetLocalInt(GetModule(),"DomeDefDead") + 1)); if (GetLocalInt(GetModule(),"DomeDefDead")==6) { SetLocalInt(GetModule(),"DomeTrigger",2); } }