Jump to content
Crazy_Man

Trigger triggered only by units on foot

Recommended Posts

All is in the title.

I have this in the condition field of my trigger but it doesn't work, it fire the trigger even if a unit is in a vehicle.

this and ({if (isNull objectParent _x) exitWith {1}; false} forEach thislist) isEqualTo 1

 

Share this post


Link to post
Share on other sites
(count thisList) == ({vehicle _x == _x} count thisList)

 

Share this post


Link to post
Share on other sites

No, that can't work:  a simple squad (or one crew vehicle) will trigger it as well.

You can test:

({_x isKindOf "caManBase"} count thisList >0)    , thisList referring to: BLUFOR present for example.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Yeah that works great pierremgi thanks a lot 👍

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

×