Jump to content
interectic

Help with IED script, changing it

Recommended Posts

So Brian release his random IED script awhile back. He stopped working on it so I need some help.

 

Lin: http://www.armaholic.com/page.php?id=23995

 

I need to figure out how to make the ied only blow up when you are a certain distance to it and change what speed a person/vic has to be going to trigger it. If someone could help me read through the script and figure this all out. Thanks.

Share this post


Link to post
Share on other sites

I did a quick check, and although I'm not 100% positive, it looks like what you're looking for can be found in line 48 of the TriggerCheck.sqf which comes along with that script, found in the "EPD\IED\" folder.  I think this is the line you wanna tinker with:
 
if((_maxSpeed > 2.8) and (_minHeight < 3)) then { true; } else {false;};

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

×