fnc_moduleVolatile.sqf 331 B

1234567891011
  1. params["_logic"];
  2. if (isNull _logic) exitWith {};
  3. private _initVars = _logic getVariable ["rd501_ui_volatileInit", [100]];
  4. private _attach = attachedTo _logic;
  5. if(isNull _attach) then {
  6. deleteVehicle _logic; // Don't spawn without any target obj
  7. }else
  8. {
  9. ["rd501_volatile_create", [_attach], _attach] call CBA_fnc_targetEvent;
  10. };