Jump to content
Sign in to follow this  
zorrobyte

addaction "Make IED proximity"

Recommended Posts

Using SR5 IEDS in my mission and also have a civilian faction with access to IEDs. Would like the player to be able to place the IED, scroll on the deployed IED, select "Make IED Proximity".

What I need is a script/loop that will look for classnames and addaction to the objects.

Script/loop

Look for "CLASSNAMES"

Apply to object

this addAction ["Make IED Proximity","[this,0,1] nul0 = [this,0,1] execVM "scripts\IEDdetect\IEDdetect_proximity.sqf";"];

Loop

Share this post


Link to post
Share on other sites

huh? are you trying to make a motion sensor out of the ied? then a anyone or side present trigger would do just fine.

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  

×