Home   Help Search Login Register  

Author Topic: create new trigger type  (Read 3134 times)

0 Members and 1 Guest are viewing this topic.

Offline KDK

  • Members
  • *
create new trigger type
« on: 09 Jul 2013, 20:46:57 »
Is it possible to create a trigger that can be activated by either blufor or independant? I need to be able to somehow come up with a solution for this as I have a conversation in my mission that currently is activated by blufor. I need it to activate when either blufor or independant enter its radius. I tried this with no luck
Code: [Select]
{ side _x == blufor} count thislist > 0 or { side _x == independant} count thislist >0 
« Last Edit: 09 Jul 2013, 20:48:43 by KDK »

Offline SaOk

  • Missions Depot Staff
  • *****
    • My youtube profile
Re: create new trigger type
« Reply #1 on: 11 Jul 2013, 11:04:57 »
The side need to be WEST for blufor and GUER or RESISTANCE (not sure which is the right in A3) for independant.
Code: [Select]
{side _x == WEST} count thislist > 0 || { side _x == GUER} count thislist >0

Offline Pirin

  • Members
  • *
Re: create new trigger type
« Reply #2 on: 11 Jul 2013, 20:44:26 »
The side need to be WEST for blufor

Actually ArmA3 has added blufor as a pre-defined variable for WEST with regards to side.  So:

Code: [Select]
side _x == blufor and
Code: [Select]
side _x == west are the same now.

blufor, opfor and independent and civilian for ArmA3.
« Last Edit: 11 Jul 2013, 20:47:02 by Pirin »

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: create new trigger type
« Reply #3 on: 19 Jul 2013, 08:56:57 »
Also remember that for thisList to work the list needs to be populated with both blufor and independent, meaning it has to be activated by: anyone. Otherwise only blufor/independent will actually be in the list.

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"