Skip to content

Commit

Permalink
Merge branch 'release/1.3.3' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Crowdedlight committed Nov 7, 2021
2 parents 3d38637 + 6c415ce commit aee9982
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion addons/main/script_version.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#define MAJOR 1
#define MINOR 3
#define PATCH 2
#define PATCH 3
12 changes: 0 additions & 12 deletions addons/zeus/functions/fnc_fireEMPZeus.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,3 @@ private _onConfirm =
{},
_this
] call zen_dialog_fnc_create;


// _pos: position asl
// _unit: the object/unit its placed on, objNull if using position instead of unit
// _range: The range the EMP is effective in meters. It can be seen further away, but this is the range of the "growing half-dome effect" and the radius where units will loose electric equipment
// _spawnDevice: spawning a "device" at position of EMP, or fire the EMP without spawning a device
// _scopeMode: How should it handle scope with built-in NV or Thermal. 0: Do not remove, 1: replace with basegame 1x scope, 2: remove without giving a replacement
// _binoMode: How should it handle binoculars with built-in NV or Thermal. 0: Do not remove, 1: replace with basegame binocular, 2: remove without giving a replacement
["crowsEW_emp_eventFireEMP", [_pos, _unit, _range, _spawnDevice, _scopeMode, _binoMode]] call CBA_fnc_serverEvent;

//example: Fire EMP at position with 500m radius without spawning a "device" object and remove any scopes or binos with NV or thermal built-in.
["crowsEW_emp_eventFireEMP", [[2508.64,5681.47,171.718], objNull, 500, false, 2, 2]] call CBA_fnc_serverEvent;

0 comments on commit aee9982

Please sign in to comment.