Skip to content

Add listenable setDamage event when Attribute set#809

Open
Alien314 wants to merge 2 commits into
zen-mod:masterfrom
Alien314:patch-1
Open

Add listenable setDamage event when Attribute set#809
Alien314 wants to merge 2 commits into
zen-mod:masterfrom
Alien314:patch-1

Conversation

@Alien314

@Alien314 Alien314 commented May 23, 2026

Copy link
Copy Markdown

When merged this pull request will:

  • Adds a setDamage event for mod/mission script compatibility to attributes/initAttributes.inc.sqf and context_actions fnc_repairVehicles.sqf

Adds a setDamage event for mod/mission script compatibility.
@Alien314 Alien314 changed the title Add listenable setDamage event Add listenable setDamage event when Attribute set May 23, 2026
@mharis001

Copy link
Copy Markdown
Member

setDamage is GA/GE. A local event probably makes the most sense (consumers can rebroadcast if needed). Also, the naming of this should be considered - should this be namespaced under common?

@Alien314

Alien314 commented May 29, 2026

Copy link
Copy Markdown
Author

Nearly every other event uses common, so I thought it was simplest since setDamage isn't necessarily an attribute specific thing. Edit: added event to context_actions fnc_repairVehicles as well.

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.

2 participants