Jump to content
mc sd

How configure alarms? [Multiplayer servers]

Recommended Posts

Hi,

 

I am trying to implement an alarm system in my base using triggers, but I don't know how to create the code / logic ... can anyone help me, plz?

 

So far I've done these triggers:

 

Setup triggers:

  • Setup alarm
  • Setup turn on
  • Setup turn off
  • Loudspeaker

ZX842u8.jpguou9qiR.jpg

 

qoFrZmI.jpgoR5odIK.jpg

 

 

Turn on alarm:

  • OPFOR is in the area
  • BLUEFOR is in the area
  • INDEPENDENT has been detected by OPFOR
  • INDEPENDENT was detected by BLUEFOR

1TMKEW3.jpgXzUa5r6.jpg

T3IiJs7.jpgPbGy2gm.jpg

 

 

 

Turn off Alarm :

  • OPFOR left the area
  • BLUEFOR left the area

(if there is 1 bluefor and 1 opfor in the area and only 1 leave, the alarm stops ringing - I need to fix it)

P0mRymx.jpg5RUajHq.jpg

 

 

 

But I'm having critical issues with these triggers:

  •  Another INDEPENDENT team is in the area (the trigger is activated even if it is only me in the area)
  •  Another INDEPENDENT team detected me (same problem as above)

 

 

I imagine that the ideal and simplest logic would be to check if there are more than 1 group in place to trigger the alarm, is it possible to configure a trigger to do this?

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×