Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Event Triggers & Logic

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Event Triggers & Logic Page: [1]
Login
Message << Older Topic   Newer Topic >>
Event Triggers & Logic - 12/1/2013 5:27:01 AM   
Elouda

 

Posts: 183
Joined: 2/16/2008
From: Helsinki, Finland
Status: offline
Is there a way to change the trigger logic on an Event from OR to AND?

I am trying to create an event that triggers if the following 2 conditions are met;
Unit 1 belonging to Side A is in Area X
Unit 1 is detected by Side B

Currently if I set up both of these, the event will trigger when either of these is true, which is not ideal for what I am looking for (sending warning messages). I am wondering if these is a way to change the logic so that both of them need to be met for the event to trigger.

Thanks.
Post #: 1
RE: Event Triggers & Logic - 12/9/2013 7:09:03 AM   
Dobey455

 

Posts: 445
Joined: 12/28/2007
Status: offline
+1

Being able to set multiple conditions for triggers would allow much more complex events to be scripted.

(in reply to Elouda)
Post #: 2
RE: Event Triggers & Logic - 10/10/2017 12:46:12 AM   
Norm49

 

Posts: 55
Joined: 6/5/2015
Status: offline
Hi,

is it possible now. I am trying to have a even happen only after 2 trigger had been activated.

Thanks

(in reply to Dobey455)
Post #: 3
RE: Event Triggers & Logic - 10/10/2017 10:08:05 AM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Currently it is a OR set. It is possible to load conditions and return 'false' to stop the event.
Eg. the secondary triggers changed into some conditions on the primary event

_____________________________

Michael

(in reply to Norm49)
Post #: 4
RE: Event Triggers & Logic - 10/10/2017 7:01:44 PM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Hi Norm49,

It's possible to do this using a Lua script as your action, making use of key values and possibly two different events. It sounds complicated but it's not really.

If you want to post a .scen file and give me a description of what you want to do I'd be happy to write you a quick guide.


(in reply to michaelm75au)
Post #: 5
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Event Triggers & Logic Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.437