OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: melandor0 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:
[["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!
-
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.