Jump to content
Sign in to follow this  
thetacticalcat

Claymore - Set it off with an If present trigger.

Recommended Posts

Is there any way to do what the title says? I'm making a Co-Op mission, and I'd like to set off a claymore if an enemy gets too, like a APERS Mine would. Is there any way?

 

Share this post


Link to post
Share on other sites

basically you could just use the trigger to spawn an explosion on the AI when he enters a trigger

bomb = "R_80mm_HE" createVehicle (getMarkerPos "exp_01");

Basically this will spawn a 80mm rocket explosion on the marker named "exp_01"

 

Now add a trigger activated by Opfor (or bluefor) and when a unit enters that trigger it will go boom. 

 

Bigger the ordnance the bigger the explosion - CfgMagazines List

Share this post


Link to post
Share on other sites

basically you could just use the trigger to spawn an explosion on the AI when he enters a trigger

bomb = "R_80mm_HE" createVehicle (getMarkerPos "exp_01");

Basically this will spawn a 80mm rocket explosion on the marker named "exp_01"

 

Now add a trigger activated by Opfor (or bluefor) and when a unit enters that trigger it will go boom. 

 

Bigger the ordnance the bigger the explosion - CfgMagazines List

Where would I put this? I assume not in the init.

Share this post


Link to post
Share on other sites

Where would I put this? I assume not in the init.

In the "OnActivation" of the trigger. I believe...

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  

×