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