Skip to content

Refactor ACE explosives to use Explode event handler#42

Merged
fank merged 1 commit intomainfrom
refactor/ace-explosives-event-handler
Feb 3, 2026
Merged

Refactor ACE explosives to use Explode event handler#42
fank merged 1 commit intomainfrom
refactor/ace-explosives-event-handler

Conversation

@fank
Copy link
Member

@fank fank commented Feb 3, 2026

Summary

  • Replace CBA_fnc_waitUntilAndExecute polling with Explode event handler for detonation detection
  • Add proper private declarations to local variables
  • Remove unused _markColor and _markerType variables (inlined)

Test plan

  • Place ACE explosive in mission with OCAP recording enabled
  • Verify minefield marker appears on timeline when explosive is placed
  • Detonate explosive and verify detonation marker (X) appears
  • Verify markers are cleaned up correctly after detonation

Replace polling with waitUntilAndExecute with Explode event handler
for more efficient and event-driven detonation detection.
@fank fank merged commit 15c707b into main Feb 3, 2026
1 check passed
@fank fank deleted the refactor/ace-explosives-event-handler branch February 3, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant