Jump to content

Recommended Posts

HI

so what i did is, i put down a Tripwire Flare if someone walks over it
it spawns  a Flashbang effect

 

trigger con: !alive flash

 

trigger activ:

Flashbang = "ACE_G_M84" createVehicle (getMarkerPos "FlashB");
[Flashbang] call ace_grenades_fnc_flashbangThrownFuze;

 

this part works just fine but i am trying to not spawn the effect if someone is defusing the tripwire flare.

i got no idea how to do this.

any good advice?

Share this post


Link to post
Share on other sites

Well I spent time on it. Planted mines are objects but you can't pass any variable on them. Absolutely weird and undocumented. Still searching...

  • Like 2

Share this post


Link to post
Share on other sites

thanks
no problem
it just was a idea
if you find something  please let me know

 

 

 

Share this post


Link to post
Share on other sites

I was hoping ACE had a function that threw an "explosive defused" variable or something. Maybe detect the effect of the flare to trigger the flashbang?

Share this post


Link to post
Share on other sites

Its very doable.  You can place a tripwire mine, and set enableSimulation to false.  Then place a narrow rectangle trigger over the wire, and use that to call your flashbang script.  Remember to delete the tripwire mine object in your bang script.

Share this post


Link to post
Share on other sites
14 minutes ago, johnnyboy said:

Its very doable.  You can place a tripwire mine, and set enableSimulation to false.  Then place a narrow rectangle trigger over the wire, and use that to call your flashbang script.  Remember to delete the tripwire mine object in your bang script.

That removes the possibility of defusing it, though.

Share this post


Link to post
Share on other sites
45 minutes ago, Harzach said:

That removes the possibility of defusing it, though.

true, unless you script defusing it (which is more work of course).

  • Like 1

Share this post


Link to post
Share on other sites
Quote
46 minutes ago, Harzach said:

That removes the possibility of defusing it, though. 

exactly

 

Share this post


Link to post
Share on other sites
Just now, johnnyboy said:

true, unless you script defusing it (which is more work of course).

 

Between vanilla defusing and the ACE defusing system, that would seem like overkill 🙂

  • Like 2

Share this post


Link to post
Share on other sites

Nevermind Guys
it just was a funny idea
thx anyways

Share this post


Link to post
Share on other sites

The very very weird thing is that defused mines are no more in allMines. So the command mineActive  is useless because you can't check defused mine.

  • Like 2

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

×