Skip to content

Commit

Permalink
added #include "script_component.hpp"
Browse files Browse the repository at this point in the history
  • Loading branch information
Madin5 committed May 14, 2024
1 parent e34bab3 commit 55029a5
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/main/functions/fnc_HCfind.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
0: Headless Cliend ID, 2(server) if not connected <NUMBER>
*/
#include "script_component.hpp"

if (!isMultiplayer) exitWith {0};
if (!isServer) exitWith {clientOwner};
Expand Down
1 change: 1 addition & 0 deletions addons/main/functions/fnc_checkActivateConditions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/
#include "script_component.hpp"

params [
["_logic",objNull,[objNull]]
Expand Down
1 change: 1 addition & 0 deletions addons/main/functions/fnc_createVehicleFromInfo.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
#include "script_component.hpp"

params [
["_vehType", ""],
Expand Down
2 changes: 2 additions & 0 deletions addons/main/functions/fnc_expectedNewUnitsCountReturn.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
Return Value:
*/
#include "script_component.hpp"

params [["_unitsCountChange", 0]];
private _expectedNewUnitsCount = missionNameSpace getVariable [QGVAR(expectedNewUnitsCount), 0];
GVAR(expectedNewUnitsCount) = _expectedNewUnitsCount + _unitsCountChange;
2 changes: 2 additions & 0 deletions addons/main/functions/fnc_getGroups.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
None
*/
#include "script_component.hpp"

params [
["_groupsInput",[],[[]]]
];
Expand Down
1 change: 1 addition & 0 deletions addons/main/functions/fnc_getVehicleInfo.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
#include "script_component.hpp"

params [
["_vehicle",objNull,[objNull]]
Expand Down
1 change: 1 addition & 0 deletions addons/main/functions/fnc_moveInVehicleRole.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
None
*/
#include "script_component.hpp"

params [
["_unit", objNull],
Expand Down
1 change: 1 addition & 0 deletions addons/main/functions/fnc_patrolRandomWaypoints.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
None
*/
#include "script_component.hpp"

params [
["_group",grpNull],
Expand Down
2 changes: 2 additions & 0 deletions addons/main/functions/fnc_spawnAI.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
0: Unit <OBJECT>
*/
#include "script_component.hpp"

params ["_group","_type","_pos",["_dir",0],["_stanceTime",0,[0]],["_useAnimation",true]];
private _unit = _group createUnit [_type, _pos, [], 0, "CAN_COLLIDE"];
_unit setFormDir _dir;
Expand Down
1 change: 1 addition & 0 deletions addons/main/functions/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "\z\afmf\addons\main\script_component.hpp"

0 comments on commit 55029a5

Please sign in to comment.