Page MenuHomeFeedback Tracker

[Feature Request] mineActivated eventhandler
New, NormalPublic

Description

Would be nice if we could get a mineActivated eventhandler that fires when a mine has been triggered but before the explosion takes place.
Returned parameters could be the object/unit that activated the mine and the mine object that's about to explode.
This way mission makers could use tripwire mines to trigger certain events/other explosions somewhere distant and all kinds of stuff.

Would be a good match for the current release of the laws of war DLC.

Cheers

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

nomisum added a subscriber: nomisum.Nov 3 2018, 4:13 PM
Scofer added a subscriber: Scofer.Dec 17 2022, 2:00 AM
dedmen added a subscriber: dedmen.Jan 10 2023, 5:41 PM

We now have ammo explode eventhandler. Which will fire just before the mine explodes (within the same frame).
That would be what you described, but it doesn't provide the unit that triggered it, and you cannot prevent the actual explosion with it (but you didn't say that you wanted that)

M1keSK added a subscriber: M1keSK.Oct 17 2023, 2:28 PM