Skip to content

Commit

Permalink
Add new 2.18 events & handleHeal
Browse files Browse the repository at this point in the history
  • Loading branch information
vespade authored Oct 16, 2024
1 parent 8dded77 commit 7b10ecc
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
8 changes: 7 additions & 1 deletion addons/xeh/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,16 @@ class Extended_InitPost_EventHandlers {};
class Extended_AnimChanged_EventHandlers {};
class Extended_AnimDone_EventHandlers {};
class Extended_AnimStateChanged_EventHandlers {};
class Extended_Assembled_EventHandlers {};
class Extended_Attached_EventHandlers {};
class Extended_CargoLoaded_EventHandlers {};
class Extended_CargoUnloaded_EventHandlers {};
class Extended_ContainerClosed_EventHandlers {};
class Extended_ContainerOpened_EventHandlers {};
class Extended_ControlsShifted_EventHandlers {};
class Extended_Dammaged_EventHandlers {};
class Extended_Deleted_EventHandlers {};
class Extended_Detached_EventHandlers {};
class Extended_Disassembled_EventHandlers {};
class Extended_Engine_EventHandlers {};
class Extended_EpeContact_EventHandlers {};
Expand All @@ -55,7 +58,7 @@ class Extended_GetInMan_EventHandlers {};
class Extended_GetOut_EventHandlers {};
class Extended_GetOutMan_EventHandlers {};
//class Extended_HandleDamage_EventHandlers {};
//class Extended_HandleHeal_EventHandlers {};
class Extended_HandleHeal_EventHandlers {};
class Extended_Hit_EventHandlers {};
class Extended_HitPart_EventHandlers {};
class Extended_IncomingMissile_EventHandlers {};
Expand All @@ -65,7 +68,9 @@ class Extended_InventoryOpened_EventHandlers {};
class Extended_Killed_EventHandlers {};
class Extended_LandedStopped_EventHandlers {};
class Extended_LandedTouchDown_EventHandlers {};
class Extended_LeaningChanged_EventHandlers {};
class Extended_Local_EventHandlers {};
class Extended_MagazineUnloaded_EventHandlers {};
class Extended_OpticsModeChanged_EventHandlers {};
class Extended_OpticsSwitch_EventHandlers {};
class Extended_Put_EventHandlers {};
Expand All @@ -83,6 +88,7 @@ class Extended_TurnIn_EventHandlers {};
class Extended_TurnOut_EventHandlers {};
class Extended_VisionModeChanged_EventHandlers {};
class Extended_WeaponAssembled_EventHandlers {};
class Extended_WeaponChanged_EventHandlers {};
class Extended_WeaponDisassembled_EventHandlers {};
class Extended_WeaponDeployed_EventHandlers {};
class Extended_WeaponRested_EventHandlers {};
Expand Down
7 changes: 7 additions & 0 deletions addons/xeh/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,16 @@
"AnimChanged", \
"AnimDone", \
"AnimStateChanged", \
"Assembled", \
"Attached", \
"CargoLoaded", \
"CargoUnloaded", \
"ContainerClosed", \
"ContainerOpened", \
"ControlsShifted", \
"Dammaged", \
"Deleted", \
"Detached", \
"Disassembled", \
"Engine", \
"EpeContact", \
Expand All @@ -70,6 +73,7 @@
"GetInMan", \
"GetOut", \
"GetOutMan", \
"HandleHeal", \
"Hit", \
"HitPart", \
"IncomingMissile", \
Expand All @@ -80,7 +84,9 @@
"Killed", \
"LandedTouchDown", \
"LandedStopped", \
"LeaningChanged", \
"Local", \
"MagazineUnloaded", \
"OpticsModeChanged", \
"OpticsSwitch", \
"Put", \
Expand All @@ -98,6 +104,7 @@
"TurnOut", \
"VisionModeChanged", \
"WeaponAssembled", \
"WeaponChanged", \
"WeaponDisassembled", \
"WeaponDeployed", \
"WeaponRested"
14 changes: 14 additions & 0 deletions addons/xeh/script_xeh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ fired = "call cba_xeh_fnc_fired"; \
animChanged = "call cba_xeh_fnc_animChanged"; \
animDone = "call cba_xeh_fnc_animDone"; \
animStateChanged = "call cba_xeh_fnc_animStateChanged"; \
assembled = "call cba_xeh_fnc_assembled"; \
attached = "call cba_xeh_fnc_attached"; \
cargoLoaded = "call cba_xeh_fnc_cargoLoaded"; \
cargoUnloaded = "call cba_xeh_fnc_cargoUnloaded"; \
containerClosed = "call cba_xeh_fnc_containerClosed"; \
containerOpened = "call cba_xeh_fnc_containerOpened"; \
controlsShifted = "call cba_xeh_fnc_controlsShifted"; \
dammaged = "call cba_xeh_fnc_dammaged"; \
deleted = "call cba_xeh_fnc_deleted"; \
detached = "call cba_xeh_fnc_detached"; \
disassembled = "call cba_xeh_fnc_disassembled"; \
engine = "call cba_xeh_fnc_engine"; \
epeContact = "call cba_xeh_fnc_epeContact"; \
Expand All @@ -37,6 +40,7 @@ getIn = "call cba_xeh_fnc_getIn"; \
getInMan = "call cba_xeh_fnc_getInMan"; \
getOut = "call cba_xeh_fnc_getOut"; \
getOutMan = "call cba_xeh_fnc_getOutMan"; \
handleHeal = "call cba_xeh_fnc_handleHeal"; \
hit = "call cba_xeh_fnc_hit"; \
hitPart = "call cba_xeh_fnc_hitPart"; \
incomingMissile = "call cba_xeh_fnc_incomingMissile"; \
Expand All @@ -45,7 +49,9 @@ inventoryOpened = "call cba_xeh_fnc_inventoryOpened"; \
killed = "call cba_xeh_fnc_killed"; \
landedTouchDown = "call cba_xeh_fnc_landedTouchDown"; \
landedStopped = "call cba_xeh_fnc_landedStopped"; \
leaningChanged = "call cba_xeh_fnc_leaningChanged"; \
local = "call cba_xeh_fnc_local"; \
magazineUnloaded = "call cba_xeh_fnc_magazineUnloaded"; \
opticsModeChanged = "call cba_xeh_fnc_opticsModeChanged"; \
opticsSwitch = "call cba_xeh_fnc_opticsSwitch"; \
put = "call cba_xeh_fnc_put"; \
Expand All @@ -63,6 +69,7 @@ turnIn = "call cba_xeh_fnc_turnIn"; \
turnOut = "call cba_xeh_fnc_turnOut"; \
visionModeChanged = "call cba_xeh_fnc_visionModeChanged"; \
weaponAssembled = "call cba_xeh_fnc_weaponAssembled"; \
weaponChanged = "call cba_xeh_fnc_weaponChanged"; \
weaponDisassembled = "call cba_xeh_fnc_weaponDisassembled"; \
weaponDeployed = "call cba_xeh_fnc_weaponDeployed"; \
weaponRested = "call cba_xeh_fnc_weaponRested";
Expand All @@ -79,13 +86,16 @@ fired = ""; \
animChanged = ""; \
animDone = ""; \
animStateChanged = ""; \
assembled = ""; \
attached = ""; \
cargoLoaded = ""; \
cargoUnloaded = ""; \
containerClosed = ""; \
containerOpened = ""; \
controlsShifted = ""; \
dammaged = ""; \
deleted = ""; \
detached = ""; \
disassembled = ""; \
engine = ""; \
epeContact = ""; \
Expand All @@ -102,6 +112,7 @@ getIn = ""; \
getInMan = ""; \
getOut = ""; \
getOutMan = ""; \
handleHeal = ""; \
hit = ""; \
hitPart = ""; \
incomingMissile = ""; \
Expand All @@ -110,7 +121,9 @@ inventoryOpened = ""; \
killed = ""; \
landedTouchDown = ""; \
landedStopped = ""; \
leaningChanged = ""; \
local = ""; \
magazineUnloaded = ""; \
opticsModeChanged = ""; \
opticsSwitch = ""; \
put = ""; \
Expand All @@ -127,6 +140,7 @@ turnIn = ""; \
turnOut = ""; \
visionModeChanged = ""; \
weaponAssembled = ""; \
weaponChanged = ""; \
weaponDisassembled = ""; \
weaponDeployed = ""; \
weaponRested = "";

0 comments on commit 7b10ecc

Please sign in to comment.