Jump to content
Sign in to follow this  
Captain_Sparrow

Trigger Activation by Group

Recommended Posts

My problem is:

I want the Soviet officer SwitchMove "FXStandSur" when anyone from players group (multiplayer) has distance to the officer < 10.

Unfortunetly, when i try using condition in the trigger : (Alpha Group) distance officer1 < 10, message that Only OBJECT is expected not GROUP shows up... I ve tryed with SIDES (Resistance) and many other tricks...but It doesnt work.

I also need to say that the soviet officer is in moving from place to place, so It cant be trigger which activates when Group enters it.

Please help smile_o.gif

Share this post


Link to post
Share on other sites

Try putting this in the condition fieled of your trigger:

{officername distance _x < 10} count units Alphagroupname > 0

Share this post


Link to post
Share on other sites

Hm, No It doesnt work sad_o.gif

I get mass problems beacuse of that condition, It just simply doesnt allow me to put it. Thank you for help.

Share this post


Link to post
Share on other sites

Well it works for me.  I just tested it

Give the officer a name.  I think you call him officer1.

Give alpha group a name by putting this in the initialization field of one of the units:

AlphaGrp = group this

Then in the trigger's condition field remove 'this' and put:

{officer1 distance _x < 10} count units AlphaGrp > 0

(Don't change it - just copy and paste it)

Make sure you have your editor set on Advanced.  Look at the top right of the Editor screen.  If it says Easy, click on it.

Share this post


Link to post
Share on other sites

I ve done excatly what you have said. Advanced mode is on of course wow_o.gif The problem is that when I try to accept trigger settings message "Invalid number in expression" appears... Does it work for OFP CWC? Maybe you are talking about Resistance...

Share this post


Link to post
Share on other sites

I am indeed talking about Resistance. Perhaps you could try having a trigger for each unit in the group with the trigger firing when its unit is close the officer (and when no other trigger has fired)

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
Sign in to follow this  

×