Jump to content
Sign in to follow this  
meatball

Vehicles in Trigger?

Recommended Posts

Trying to work something out and having a bit of trouble figuring it out. Basic gist of it is this. Players are tasked with going taking over a location where there are half a dozen empty OpFor trucks. The trucks are a mix of O_Truck_02_covered_F and O_Truck_02_transport_F classes. I want the players to steal some of the trucks trucks and deliver at least two of them to another location on the map.

I can't seem to get the end location trigger to fire when two of arrive at the end location. Any thoughts?

Share this post


Link to post
Share on other sites

Well, I figured it out by using the 'intrigger' function. In case anyone else is looking to do the same, simply put the following into the condition.

{[thistrigger,_x] call bis_fnc_intrigger} count [name1,name2,name3,name4,name5] > 1;

Where name1,name2, etc are the actual names of the trucks in the editor. I'm betting you can do the exact same thing with objects as well.

  • Like 1

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  

×