mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
10 lines
436 B
Plaintext
10 lines
436 B
Plaintext
#include "script_component.hpp"
|
|
|
|
[QGVAR(setVehicleDamage), {_this call FUNC(setDamage)}] call CBA_fnc_addEventHandler;
|
|
[QGVAR(setVehicleHitPointDamage), {_this call FUNC(setHitPointDamage)}] call CBA_fnc_addEventHandler;
|
|
|
|
// wheels
|
|
[QGVAR(setWheelHitPointDamage), {(_this select 0) setHitPointDamage [_this select 1, _this select 2]}] call CBA_fnc_addEventHandler;
|
|
|
|
[QGVAR(useItem), EFUNC(common,useItem)] call CBA_fnc_addEventHandler;
|