Jump to content
Sign in to follow this  
Lewis909

How do you activate a Trigger by Blowing up a satchel charge

Recommended Posts

Hi,

I have been looking how to activate a trigger by touching off a charge/satchel charge. Unfortunately I haven't been able to find a way of doing this, would anyone here be able to help.

Thanks

Lewis

Share this post


Link to post
Share on other sites

You probably already looked into the fired eventhandler and found that this is activated by the satchel being dropped, not detonated.

What you need to do is create a small object (I used a barrel) underground directly underneath the satchel. You can use a fired eventhandler attached to the player to determine when the satchel is placed and create the barrel then. You then need to add an explosion eventhandler to the barrel. When the barrel is damaged by a explosion you can then activate your trigger.

Note that the explosion EH doesn't discriminate what exploded near it, so you might consider using handledamage EH instead. Also bear in mind, the satchel has a big damage radius and won't have to be very close to the object to damage it.

http://community.bistudio.com/wiki/Arma_3:_Event_Handlers#Explosion

http://community.bistudio.com/wiki/Arma_3:_Event_Handlers#HandleDamage

Share this post


Link to post
Share on other sites

What you need to do is create a small object (I used a barrel) underground directly underneath the satchel. You can use a fired eventhandler attached to the player to determine when the satchel is placed and create the barrel then. You then need to add an explosion eventhandler to the barrel. When the barrel is damaged by a explosion you can then activate your trigger.

Could you explain how to do this?

Share this post


Link to post
Share on other sites

Why do you need to detect if the satchel has been detonated, rather than an object being damaged? Let us know what you're trying to achieve, maybe there's an easier way.

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  

×