Home   Help Search Login Register  

Author Topic: Who triggers my trigger?  (Read 1456 times)

0 Members and 1 Guest are viewing this topic.

Offline melandor0

  • Members
  • *
Who triggers my trigger?
« on: 17 May 2010, 20:41:48 »
I'm trying to set up a simple scenario where if a trigger is activated by a player - in this case just by entering the trigger zone - he receives an artillery strike to use with the SecOps module. The onActivation line right now is:
Code: [Select]
[["artillery_barrage"], player1, [[Artillery1, [1,7,9]]]] call BIS_SOM_addSupportRequestFunc;As is this'll only give the unit "player1"  an artillery strike, not the activator. I'll probably not use this exact set-up later on but I need to know how to identify and use the name of the triggering unit.

Thanks!

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: Who triggers my trigger?
« Reply #1 on: 19 May 2010, 16:22:21 »
The variable thisList is an array that I believe contains anyone within the trigger. As far as I know, the first person within that would be that who triggered it. Might be worth giving that a shot.