fnc_volatile_create.sqf 232 B

12345678
  1. params["_target"];
  2. private _ehId = _target addEventHandler["HitPart", {
  3. _this call rd501_fnc_volatile_handleDamage;
  4. }];
  5. _target setVariable ["rd501_volatile_health", 100, true];
  6. _target setVariable ["rd501_volatile_ehId", _ehId];