Skip to content

Commit

Permalink
Move defines below docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ampersand38 committed Aug 22, 2020
1 parent cb0653b commit a2a857b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion addons/ai/functions/fnc_unpackStaticWeapon.sqf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "script_component.hpp"
#define DISTANCE_CLOSE 3
/*
* Author: Ampersand
* Unpacks a static weapon from units' backpacks.
Expand All @@ -18,6 +17,8 @@
* Public: No
*/

#define DISTANCE_CLOSE 3

params ["_gunner", "_assistant", ["_targetPos", [], [[]], 3]];

if (!local _gunner) exitWith {
Expand Down
7 changes: 4 additions & 3 deletions addons/ai/functions/fnc_unpackStaticWeaponPFH.sqf
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#include "script_component.hpp"
#define DISTANCE_CLOSE 3
#define MOVE_DELAY 5
#define MOVE_TIMEOUT 60
/*
* Author: Ampersand
* Move units together if needed and unpacks a static weapon from units' backpacks.
Expand All @@ -20,6 +17,10 @@
* Public: No
*/

#define DISTANCE_CLOSE 3
#define MOVE_DELAY 5
#define MOVE_TIMEOUT 60

params ["_gunner", "_assistant", ["_targetPos", [], [[]], 3]];

// Order assistant to move to gunner and start pfh
Expand Down

0 comments on commit a2a857b

Please sign in to comment.