diff --git a/addons/core/CfgEventHandlers.hpp b/addons/core/CfgEventHandlers.hpp index f6a948e941..025d7d8f74 100644 --- a/addons/core/CfgEventHandlers.hpp +++ b/addons/core/CfgEventHandlers.hpp @@ -1,14 +1,14 @@ class Extended_PreInit_EventHandlers { class ADDON { - init = QUOTE(call compile preprocessFileLineNumbers PATHTOF(XEH_preInit.sqf) ); - serverInit = QUOTE(call compile preprocessFileLineNumbers PATHTOF(scripts\readParameters.sqf) ); + init = QUOTE(call COMPILE_FILE(XEH_preInit) ); + serverInit = QUOTE(call COMPILE_FILE(scripts\readParameters) ); disableModuload = true; }; }; class Extended_PostInit_EventHandlers { class ADDON { - init = QUOTE(call compile preprocessFileLineNumbers PATHTOF(XEH_postInit.sqf) ); + init = QUOTE(call COMPILE_FILE(XEH_postInit) ); disableModuload = true; }; }; diff --git a/addons/core/XEH_postInit.sqf b/addons/core/XEH_postInit.sqf index df170d1fa6..434c8036c3 100644 --- a/addons/core/XEH_postInit.sqf +++ b/addons/core/XEH_postInit.sqf @@ -17,20 +17,20 @@ if (_currentVersion != _previousVersion) then { profileNamespace setVariable ["ACE_VersionNumberString", _currentVersion]; }; -0 spawn compile preprocessFileLineNumbers PATHTOF(scripts\Version\checkVersionNumber.sqf); +0 spawn COMPILE_FILE2(scripts\Version\checkVersionNumber); // everything that only player controlled machines need, goes below this if (!hasInterface) exitWith {}; -call compile preprocessFileLineNumbers PATHTOF(scripts\assignedItemFix.sqf); +call COMPILE_FILE2(scripts\assignedItemFix.sqf); -GVAR(keyInput) = compile preprocessFileLineNumbers PATHTOF(scripts\keyInput.sqf); -GVAR(keyRelease) = compile preprocessFileLineNumbers PATHTOF(scripts\keyRelease.sqf); -GVAR(editKey) = compile preprocessFileLineNumbers PATHTOF(scripts\editKey.sqf); -GVAR(openMenu) = compile preprocessFileLineNumbers PATHTOF(scripts\openMenu.sqf); -GVAR(closeMenu) = compile preprocessFileLineNumbers PATHTOF(scripts\closeMenu.sqf); -GVAR(nextKeys) = compile preprocessFileLineNumbers PATHTOF(scripts\nextKeys.sqf); -GVAR(toggleState) = compile preprocessFileLineNumbers PATHTOF(scripts\toggleState.sqf); +GVAR(keyInput) = COMPILE_FILE2(scripts\keyInput.sqf); +GVAR(keyRelease) = COMPILE_FILE2(scripts\keyRelease.sqf); +GVAR(editKey) = COMPILE_FILE2(scripts\editKey.sqf); +GVAR(openMenu) = COMPILE_FILE2(scripts\openMenu.sqf); +GVAR(closeMenu) = COMPILE_FILE2(scripts\closeMenu.sqf); +GVAR(nextKeys) = COMPILE_FILE2(scripts\nextKeys.sqf); +GVAR(toggleState) = COMPILE_FILE2(scripts\toggleState.sqf); [false] call FUNC(setKeyDefault); @@ -41,9 +41,9 @@ for "_index" from 0 to 300 do { GVAR(keyTimes) set [_index, -1]; }; -call compile preprocessFileLineNumbers PATHTOF(scripts\KeyInput\initCanInteractFunction.sqf); -call compile preprocessFileLineNumbers PATHTOF(scripts\KeyInput\initKeys.sqf); -call compile preprocessFileLineNumbers PATHTOF(scripts\KeyInput\initScrollWheel.sqf); +call COMPILE_FILE2(scripts\KeyInput\initCanInteractFunction.sqf); +call COMPILE_FILE2(scripts\KeyInput\initKeys.sqf); +call COMPILE_FILE2(scripts\KeyInput\initScrollWheel.sqf); 0 spawn { while {true} do { diff --git a/addons/core/functions/fnc_addActionEventHandler.sqf b/addons/core/functions/fnc_addActionEventHandler.sqf index a75b1537d1..7ecf3481b8 100644 --- a/addons/core/functions/fnc_addActionEventHandler.sqf +++ b/addons/core/functions/fnc_addActionEventHandler.sqf @@ -12,7 +12,7 @@ * Return value: * ID of the action (used to remove it later). */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_action", "_condition", "_statement", "_name", "_actionsVar", "_actionID", "_actions", "_id", "_actionIDs"]; diff --git a/addons/core/functions/fnc_addActionMenuEventHandler.sqf b/addons/core/functions/fnc_addActionMenuEventHandler.sqf index 249ee7e1cd..d3976c09d4 100644 --- a/addons/core/functions/fnc_addActionMenuEventHandler.sqf +++ b/addons/core/functions/fnc_addActionMenuEventHandler.sqf @@ -16,7 +16,7 @@ * Return value: * ID of the action (used to remove it later). */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_displayName", "_action", "_condition", "_statement", "_condition2", "_statement2", "_priority", "_name", "_actionsVar", "_id", "_actionIDs", "_actions", "_nameVar", "_addAction", "_actionID"]; diff --git a/addons/core/functions/fnc_addCameraEventHandler.sqf b/addons/core/functions/fnc_addCameraEventHandler.sqf index 45fdb3bdca..1159886701 100644 --- a/addons/core/functions/fnc_addCameraEventHandler.sqf +++ b/addons/core/functions/fnc_addCameraEventHandler.sqf @@ -10,7 +10,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_addCustomEventHandler.sqf b/addons/core/functions/fnc_addCustomEventHandler.sqf index e31730dbb3..28e2a44950 100644 --- a/addons/core/functions/fnc_addCustomEventHandler.sqf +++ b/addons/core/functions/fnc_addCustomEventHandler.sqf @@ -11,7 +11,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_object", "_type", "_statement", "_name", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_addInfoDisplayEventHandler.sqf b/addons/core/functions/fnc_addInfoDisplayEventHandler.sqf index d80c8b7fec..07fe63aaac 100644 --- a/addons/core/functions/fnc_addInfoDisplayEventHandler.sqf +++ b/addons/core/functions/fnc_addInfoDisplayEventHandler.sqf @@ -10,7 +10,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_type", "_statement", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_addInventoryDisplayLoadedEventHandler.sqf b/addons/core/functions/fnc_addInventoryDisplayLoadedEventHandler.sqf index 60681e066c..7ecb461025 100644 --- a/addons/core/functions/fnc_addInventoryDisplayLoadedEventHandler.sqf +++ b/addons/core/functions/fnc_addInventoryDisplayLoadedEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_addMapMarkerCreatedEventHandler.sqf b/addons/core/functions/fnc_addMapMarkerCreatedEventHandler.sqf index 64ce3e9735..c4bb59d619 100644 --- a/addons/core/functions/fnc_addMapMarkerCreatedEventHandler.sqf +++ b/addons/core/functions/fnc_addMapMarkerCreatedEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_addScrollWheelEventHandler.sqf b/addons/core/functions/fnc_addScrollWheelEventHandler.sqf index 98444a160d..ccec2db493 100644 --- a/addons/core/functions/fnc_addScrollWheelEventHandler.sqf +++ b/addons/core/functions/fnc_addScrollWheelEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_addUnloadEventhandler.sqf b/addons/core/functions/fnc_addUnloadEventhandler.sqf index 0d1606aaf6..a60b8443b1 100644 --- a/addons/core/functions/fnc_addUnloadEventhandler.sqf +++ b/addons/core/functions/fnc_addUnloadEventhandler.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_dlg"; diff --git a/addons/core/functions/fnc_adminKick.sqf b/addons/core/functions/fnc_adminKick.sqf index bc9afd9fcb..7f578abf46 100644 --- a/addons/core/functions/fnc_adminKick.sqf +++ b/addons/core/functions/fnc_adminKick.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_name"; diff --git a/addons/core/functions/fnc_ambientBrightness.sqf b/addons/core/functions/fnc_ambientBrightness.sqf index 034129735a..1fa6e15c4f 100644 --- a/addons/core/functions/fnc_ambientBrightness.sqf +++ b/addons/core/functions/fnc_ambientBrightness.sqf @@ -9,6 +9,6 @@ * Return value: * Ambient brightness (Number) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" sunOrMoon * sunOrMoon + moonIntensity/5 min 1 diff --git a/addons/core/functions/fnc_applyForceWalkStatus.sqf b/addons/core/functions/fnc_applyForceWalkStatus.sqf index 0f8ffb58ea..7d5cba4d56 100644 --- a/addons/core/functions/fnc_applyForceWalkStatus.sqf +++ b/addons/core/functions/fnc_applyForceWalkStatus.sqf @@ -15,7 +15,7 @@ Returns: Example: [ACE_Player] call FUNC(applyForceWalkStatus) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_forceWalkNumber"]; diff --git a/addons/core/functions/fnc_binarizeNumber.sqf b/addons/core/functions/fnc_binarizeNumber.sqf index 11334083f8..93914fc2f6 100644 --- a/addons/core/functions/fnc_binarizeNumber.sqf +++ b/addons/core/functions/fnc_binarizeNumber.sqf @@ -10,7 +10,7 @@ * Return value: * Booleans (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_number", "_minLength", "_array", "_index", "_rest"]; diff --git a/addons/core/functions/fnc_callCustomEventHandlers.sqf b/addons/core/functions/fnc_callCustomEventHandlers.sqf index 4b822e0754..ff04610af2 100644 --- a/addons/core/functions/fnc_callCustomEventHandlers.sqf +++ b/addons/core/functions/fnc_callCustomEventHandlers.sqf @@ -11,7 +11,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_object", "_type", "_argument", "_name", "_actions"]; diff --git a/addons/core/functions/fnc_callCustomEventHandlersGlobal.sqf b/addons/core/functions/fnc_callCustomEventHandlersGlobal.sqf index e1dddd5916..cd4cc3a5fd 100644 --- a/addons/core/functions/fnc_callCustomEventHandlersGlobal.sqf +++ b/addons/core/functions/fnc_callCustomEventHandlersGlobal.sqf @@ -11,6 +11,6 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" [_this, QUOTE(FUNC(callCustomEventHandlers)), 2] call FUNC(execRemoteFnc); diff --git a/addons/core/functions/fnc_canGetInPosition.sqf b/addons/core/functions/fnc_canGetInPosition.sqf index 859d8ed461..6905552adb 100644 --- a/addons/core/functions/fnc_canGetInPosition.sqf +++ b/addons/core/functions/fnc_canGetInPosition.sqf @@ -14,7 +14,7 @@ * Return Value: * Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" #define CANGETINDRIVER (isNull (driver _vehicle) || {!alive driver _vehicle}) && {!lockedDriver _vehicle} && {getNumber (_config >> "isUav") != 1} #define CANGETINTURRETINDEX (isNull (_vehicle turretUnit _turret) || {!alive (_vehicle turretUnit _turret)}) && {!(_vehicle lockedTurret _turret)} && {getNumber (_config >> "isUav") != 1} diff --git a/addons/core/functions/fnc_canInteractWith.sqf b/addons/core/functions/fnc_canInteractWith.sqf index 9c5405452e..d9c3dea9f5 100644 --- a/addons/core/functions/fnc_canInteractWith.sqf +++ b/addons/core/functions/fnc_canInteractWith.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_target", "_owner"]; diff --git a/addons/core/functions/fnc_canUseWeapon.sqf b/addons/core/functions/fnc_canUseWeapon.sqf index cbb33f1905..5dbe764fe3 100644 --- a/addons/core/functions/fnc_canUseWeapon.sqf +++ b/addons/core/functions/fnc_canUseWeapon.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" // returns true if the unit is on foot or in a ffv position diff --git a/addons/core/functions/fnc_changeProjectileDirection.sqf b/addons/core/functions/fnc_changeProjectileDirection.sqf index 04154da9c1..7f864d1b3c 100644 --- a/addons/core/functions/fnc_changeProjectileDirection.sqf +++ b/addons/core/functions/fnc_changeProjectileDirection.sqf @@ -12,7 +12,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_projectile", "_adjustDir", "_adjustUp", "_adjustSpeed", "_vdir", "_dir", "_up", "_l", "_r", "_vup", "_vel"]; diff --git a/addons/core/functions/fnc_checkPBOs.sqf b/addons/core/functions/fnc_checkPBOs.sqf index 7c4aaeba13..5329d65f4c 100644 --- a/addons/core/functions/fnc_checkPBOs.sqf +++ b/addons/core/functions/fnc_checkPBOs.sqf @@ -14,7 +14,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_mode", "_checkAll", "_whitelist", "_logic"]; diff --git a/addons/core/functions/fnc_claim.sqf b/addons/core/functions/fnc_claim.sqf index cf960ac462..09f4985d5d 100644 --- a/addons/core/functions/fnc_claim.sqf +++ b/addons/core/functions/fnc_claim.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_target", "_lockTarget", "_owner"]; diff --git a/addons/core/functions/fnc_closeDialogIfTargetMoves.sqf b/addons/core/functions/fnc_closeDialogIfTargetMoves.sqf index c701db6a02..4c084b101a 100644 --- a/addons/core/functions/fnc_closeDialogIfTargetMoves.sqf +++ b/addons/core/functions/fnc_closeDialogIfTargetMoves.sqf @@ -10,7 +10,7 @@ * Return Value: * None */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" _this spawn { _target = _this select 0; diff --git a/addons/core/functions/fnc_codeToLetter.sqf b/addons/core/functions/fnc_codeToLetter.sqf index 8e8a9c8a3e..b054db61b1 100644 --- a/addons/core/functions/fnc_codeToLetter.sqf +++ b/addons/core/functions/fnc_codeToLetter.sqf @@ -1,4 +1,4 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" ["", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"] select ([2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38, 50, 49, 24, 25, 16, 19, 31, 20, 22, 47, 17, 45, 44, 21] find (_this select 0)) + 1 diff --git a/addons/core/functions/fnc_codeToString.sqf b/addons/core/functions/fnc_codeToString.sqf index 440cacc5a3..c7902d513c 100644 --- a/addons/core/functions/fnc_codeToString.sqf +++ b/addons/core/functions/fnc_codeToString.sqf @@ -9,7 +9,7 @@ * Return value: * Code (String) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_function"; diff --git a/addons/core/functions/fnc_convertKeyCode.sqf b/addons/core/functions/fnc_convertKeyCode.sqf index a8af25401c..bc12a47cfe 100644 --- a/addons/core/functions/fnc_convertKeyCode.sqf +++ b/addons/core/functions/fnc_convertKeyCode.sqf @@ -12,7 +12,7 @@ * Return value: * Key code (Number) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" #define KEY_MODIFIERS [42, 54, 29, 157, 56, 184] diff --git a/addons/core/functions/fnc_currentChannel.sqf b/addons/core/functions/fnc_currentChannel.sqf index 115364fb24..382a30fcc3 100644 --- a/addons/core/functions/fnc_currentChannel.sqf +++ b/addons/core/functions/fnc_currentChannel.sqf @@ -9,7 +9,7 @@ * Return value: * The current channel. Can be "group", "side", "global", "command", "vehicle" or "direct" (String) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" #define CHANNELS ["group", "side", "global", "command", "vehicle", "direct"] #define CHANNELS_LOCALIZED [localize "str_channel_group", localize "str_channel_side", localize "str_channel_global", localize "str_channel_command", localize "str_channel_vehicle", localize "str_channel_direct"] diff --git a/addons/core/functions/fnc_disableUserInput.sqf b/addons/core/functions/fnc_disableUserInput.sqf index 923575dd97..3f8d1492e7 100644 --- a/addons/core/functions/fnc_disableUserInput.sqf +++ b/addons/core/functions/fnc_disableUserInput.sqf @@ -9,7 +9,7 @@ * Return value: * Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_state", "_dlg"]; diff --git a/addons/core/functions/fnc_displayText.sqf b/addons/core/functions/fnc_displayText.sqf index c6a68cbab2..0ae5da307a 100644 --- a/addons/core/functions/fnc_displayText.sqf +++ b/addons/core/functions/fnc_displayText.sqf @@ -12,7 +12,7 @@ * Return value: * Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" #define DEFAULT_PLAY_SOUND false #define DEFAULT_DELAY 2 diff --git a/addons/core/functions/fnc_displayTextPicture.sqf b/addons/core/functions/fnc_displayTextPicture.sqf index 8d46d8d38e..107b68f134 100644 --- a/addons/core/functions/fnc_displayTextPicture.sqf +++ b/addons/core/functions/fnc_displayTextPicture.sqf @@ -10,7 +10,7 @@ * Return value: * Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_text", "_image"]; diff --git a/addons/core/functions/fnc_displayTextStructured.sqf b/addons/core/functions/fnc_displayTextStructured.sqf index 62db6a829f..f0f19740ab 100644 --- a/addons/core/functions/fnc_displayTextStructured.sqf +++ b/addons/core/functions/fnc_displayTextStructured.sqf @@ -10,7 +10,7 @@ * Return value: * Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_text", "_size", "_isShown", "_ctrlHint"]; diff --git a/addons/core/functions/fnc_doAnimation.sqf b/addons/core/functions/fnc_doAnimation.sqf index 969a57fd6d..361cefa5c0 100644 --- a/addons/core/functions/fnc_doAnimation.sqf +++ b/addons/core/functions/fnc_doAnimation.sqf @@ -14,7 +14,7 @@ * Return value: * Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_animation", "_priority", "_force"]; diff --git a/addons/core/functions/fnc_endRadioTransmission.sqf b/addons/core/functions/fnc_endRadioTransmission.sqf index 990d4e03d8..175062e9ae 100644 --- a/addons/core/functions/fnc_endRadioTransmission.sqf +++ b/addons/core/functions/fnc_endRadioTransmission.sqf @@ -10,7 +10,7 @@ * None. * */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" // ACRE if (isClass (configFile >> "CfgPatches" >> "acre_main")) then { diff --git a/addons/core/functions/fnc_execPersistentFnc.sqf b/addons/core/functions/fnc_execPersistentFnc.sqf index 248d35636e..24ddfe2611 100644 --- a/addons/core/functions/fnc_execPersistentFnc.sqf +++ b/addons/core/functions/fnc_execPersistentFnc.sqf @@ -12,7 +12,7 @@ * Return value: * Nothing. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_arguments", "_function", "_unit", "_name"]; diff --git a/addons/core/functions/fnc_execRemoteFnc.sqf b/addons/core/functions/fnc_execRemoteFnc.sqf index 111dbbdc0c..de962c0615 100644 --- a/addons/core/functions/fnc_execRemoteFnc.sqf +++ b/addons/core/functions/fnc_execRemoteFnc.sqf @@ -15,7 +15,7 @@ * Return value: * Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_arguments", "_function", "_unit", "_id"]; diff --git a/addons/core/functions/fnc_executePersistent.sqf b/addons/core/functions/fnc_executePersistent.sqf index 80f29f35ad..b77211901f 100644 --- a/addons/core/functions/fnc_executePersistent.sqf +++ b/addons/core/functions/fnc_executePersistent.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_target"; diff --git a/addons/core/functions/fnc_exportConfig.sqf b/addons/core/functions/fnc_exportConfig.sqf index 10c88d6bca..cd6ccaffd4 100644 --- a/addons/core/functions/fnc_exportConfig.sqf +++ b/addons/core/functions/fnc_exportConfig.sqf @@ -4,7 +4,7 @@ (configFile >> "CfgAmmo") call FUNC(exportConfig); */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_fnc_logEntries"; diff --git a/addons/core/functions/fnc_filter.sqf b/addons/core/functions/fnc_filter.sqf index 23e28c5fc5..a3e88904b1 100644 --- a/addons/core/functions/fnc_filter.sqf +++ b/addons/core/functions/fnc_filter.sqf @@ -13,7 +13,7 @@ * Usage: * [[0,1,2,3,4], {_this > 2}] call FUNC(filter) ==> [3,4] */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_array", "_code", "_newArray", "_index"]; diff --git a/addons/core/functions/fnc_fixCrateContent.sqf b/addons/core/functions/fnc_fixCrateContent.sqf index 3128f783d5..96db852a2f 100644 --- a/addons/core/functions/fnc_fixCrateContent.sqf +++ b/addons/core/functions/fnc_fixCrateContent.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_crate", "_weapons", "_items"]; diff --git a/addons/core/functions/fnc_fixLoweredRifleAnimation.sqf b/addons/core/functions/fnc_fixLoweredRifleAnimation.sqf index 55bc6865b0..a7bc056474 100644 --- a/addons/core/functions/fnc_fixLoweredRifleAnimation.sqf +++ b/addons/core/functions/fnc_fixLoweredRifleAnimation.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_unit"; diff --git a/addons/core/functions/fnc_getCaptivityStatus.sqf b/addons/core/functions/fnc_getCaptivityStatus.sqf index dcd3d6b0ff..64efc0910d 100644 --- a/addons/core/functions/fnc_getCaptivityStatus.sqf +++ b/addons/core/functions/fnc_getCaptivityStatus.sqf @@ -9,7 +9,7 @@ * Return value: * Reasons, why the unit is a captive. An empty array is returned if the unit is not a captive (Array of Strings) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_captivityReasons", "_unitCaptivityStatus", "_unitCaptivityReasons"]; diff --git a/addons/core/functions/fnc_getChildren.sqf b/addons/core/functions/fnc_getChildren.sqf index 057b14ff40..1c76d96338 100644 --- a/addons/core/functions/fnc_getChildren.sqf +++ b/addons/core/functions/fnc_getChildren.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_name", "_cfgClass", "_classes"]; diff --git a/addons/core/functions/fnc_getConfigCommander.sqf b/addons/core/functions/fnc_getConfigCommander.sqf index 5fca3af81c..cc06ce859d 100644 --- a/addons/core/functions/fnc_getConfigCommander.sqf +++ b/addons/core/functions/fnc_getConfigCommander.sqf @@ -9,7 +9,7 @@ * Return value: * Commander config (Config) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_config", "_turret"]; diff --git a/addons/core/functions/fnc_getConfigGunner.sqf b/addons/core/functions/fnc_getConfigGunner.sqf index 0c09461a04..c7546de55a 100644 --- a/addons/core/functions/fnc_getConfigGunner.sqf +++ b/addons/core/functions/fnc_getConfigGunner.sqf @@ -9,7 +9,7 @@ * Return value: * Gunner config (Config) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_config", "_turret"]; diff --git a/addons/core/functions/fnc_getDefaultAnim.sqf b/addons/core/functions/fnc_getDefaultAnim.sqf index fd53668396..411c4e6c59 100644 --- a/addons/core/functions/fnc_getDefaultAnim.sqf +++ b/addons/core/functions/fnc_getDefaultAnim.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_anim", "_stance"]; diff --git a/addons/core/functions/fnc_getDisplayConfigName.sqf b/addons/core/functions/fnc_getDisplayConfigName.sqf index 3ffc20de2f..cf53b8f735 100644 --- a/addons/core/functions/fnc_getDisplayConfigName.sqf +++ b/addons/core/functions/fnc_getDisplayConfigName.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_configName", "_index"]; diff --git a/addons/core/functions/fnc_getDoorTurrets.sqf b/addons/core/functions/fnc_getDoorTurrets.sqf index eadaeb2000..54de39cd47 100644 --- a/addons/core/functions/fnc_getDoorTurrets.sqf +++ b/addons/core/functions/fnc_getDoorTurrets.sqf @@ -9,7 +9,7 @@ * Return value: * Turret indexes of the door gunner. Empty array means no gunner position. (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicleType", "_turrets", "_doorTurrets", "_config"]; diff --git a/addons/core/functions/fnc_getForceWalkStatus.sqf b/addons/core/functions/fnc_getForceWalkStatus.sqf index 10a70546fb..e087bb7a8e 100644 --- a/addons/core/functions/fnc_getForceWalkStatus.sqf +++ b/addons/core/functions/fnc_getForceWalkStatus.sqf @@ -15,7 +15,7 @@ Returns: Example: [ACE_Player] call FUNC(getForceWalkStatus) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_forceWalkReasons", "_unitForceWalkNumber", "_unitForceWalkStatus", "_unitForceWalkReasons"]; diff --git a/addons/core/functions/fnc_getHitPoints.sqf b/addons/core/functions/fnc_getHitPoints.sqf index a6d75e41b9..b3cbb85a3d 100644 --- a/addons/core/functions/fnc_getHitPoints.sqf +++ b/addons/core/functions/fnc_getHitPoints.sqf @@ -9,7 +9,7 @@ * Return Value: * The hitpoints (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_config", "_hitpoints"]; diff --git a/addons/core/functions/fnc_getHitPointsWithSelections.sqf b/addons/core/functions/fnc_getHitPointsWithSelections.sqf index e9a7a8fac5..a5e496eb88 100644 --- a/addons/core/functions/fnc_getHitPointsWithSelections.sqf +++ b/addons/core/functions/fnc_getHitPointsWithSelections.sqf @@ -9,7 +9,7 @@ * Return Value: * The hitpoints with selections. Format: [hitpoints, selections]. They correspond by index. (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_config", "_hitpoints", "_selections"]; diff --git a/addons/core/functions/fnc_getInPosition.sqf b/addons/core/functions/fnc_getInPosition.sqf index 0cfce1e124..577ae38d6a 100644 --- a/addons/core/functions/fnc_getInPosition.sqf +++ b/addons/core/functions/fnc_getInPosition.sqf @@ -13,7 +13,7 @@ * Return Value: * Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" #define CANGETINDRIVER (isNull (driver _vehicle) || {!alive driver _vehicle}) && {!lockedDriver _vehicle} && {getNumber (_config >> "isUav") != 1} #define CANGETINTURRETINDEX (isNull (_vehicle turretUnit _turret) || {!alive (_vehicle turretUnit _turret)}) && {!(_vehicle lockedTurret _turret)} && {getNumber (_config >> "isUav") != 1} diff --git a/addons/core/functions/fnc_getMarkerType.sqf b/addons/core/functions/fnc_getMarkerType.sqf index 0324bf0ede..a445eb7ae3 100644 --- a/addons/core/functions/fnc_getMarkerType.sqf +++ b/addons/core/functions/fnc_getMarkerType.sqf @@ -9,7 +9,7 @@ * Return Value: * Marker Type (string) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" _group = _this select 0; _leader = leader _group; diff --git a/addons/core/functions/fnc_getName.sqf b/addons/core/functions/fnc_getName.sqf index 4d10ce052c..d33a843cac 100644 --- a/addons/core/functions/fnc_getName.sqf +++ b/addons/core/functions/fnc_getName.sqf @@ -10,7 +10,7 @@ * Return value: * The name. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_showEffective", "_name"]; diff --git a/addons/core/functions/fnc_getNumberFromMissionSQM.sqf b/addons/core/functions/fnc_getNumberFromMissionSQM.sqf index 1c9fbda77d..0e33ef2e0b 100644 --- a/addons/core/functions/fnc_getNumberFromMissionSQM.sqf +++ b/addons/core/functions/fnc_getNumberFromMissionSQM.sqf @@ -9,7 +9,7 @@ * Return value: * Value of the entry. Note: If the entry does not exist, it might return 0 or an entry with the same name of another class! (Number) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_number"; diff --git a/addons/core/functions/fnc_getPitchBankYaw.sqf b/addons/core/functions/fnc_getPitchBankYaw.sqf index 2a9b0bacd1..81ace0864c 100644 --- a/addons/core/functions/fnc_getPitchBankYaw.sqf +++ b/addons/core/functions/fnc_getPitchBankYaw.sqf @@ -9,6 +9,6 @@ * Return Value: * [pitch, bank, yaw] */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" ((_this select 0) call BIS_fnc_getPitchBank) + [getDir (_this select 0)] diff --git a/addons/core/functions/fnc_getStringFromMissionSQM.sqf b/addons/core/functions/fnc_getStringFromMissionSQM.sqf index a19e3490aa..6a67ad23a4 100644 --- a/addons/core/functions/fnc_getStringFromMissionSQM.sqf +++ b/addons/core/functions/fnc_getStringFromMissionSQM.sqf @@ -9,7 +9,7 @@ * Return value: * Value of the entry. Note: If the entry does not exist, it might return an empty string or an entry with the same name of another class! (String) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_path", "_mission", "_a", "_class", "_index", "_array", "_b", "_entry"]; diff --git a/addons/core/functions/fnc_getTargetAzimuthAndInclination.sqf b/addons/core/functions/fnc_getTargetAzimuthAndInclination.sqf index 396a3ec85e..d93c53b05d 100644 --- a/addons/core/functions/fnc_getTargetAzimuthAndInclination.sqf +++ b/addons/core/functions/fnc_getTargetAzimuthAndInclination.sqf @@ -10,7 +10,7 @@ * 0: Azimuth (Number) * 1: Inclination or 'slope' (Number) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_position", "_direction", "_azimuth", "_inclination"]; diff --git a/addons/core/functions/fnc_getTargetDistance.sqf b/addons/core/functions/fnc_getTargetDistance.sqf index 79ef273fad..a54b39c936 100644 --- a/addons/core/functions/fnc_getTargetDistance.sqf +++ b/addons/core/functions/fnc_getTargetDistance.sqf @@ -11,7 +11,7 @@ * Return value: * Measured distance in meters. Can return maximal or minimal distance (Number) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_interval", "_maxDistance", "_minDistance", "_position", "_laser", "_line", "_distance", "_iteration"]; diff --git a/addons/core/functions/fnc_getTargetObject.sqf b/addons/core/functions/fnc_getTargetObject.sqf index c00a0e2340..7bf161fc3c 100644 --- a/addons/core/functions/fnc_getTargetObject.sqf +++ b/addons/core/functions/fnc_getTargetObject.sqf @@ -9,7 +9,7 @@ * Return value: * Nearest object directly in line of sight, if none objNull (Object) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_maxDistance", "_position", "_laser", "_intersects"]; diff --git a/addons/core/functions/fnc_getTurretCommander.sqf b/addons/core/functions/fnc_getTurretCommander.sqf index 4c2b1139c8..c701e8d64a 100644 --- a/addons/core/functions/fnc_getTurretCommander.sqf +++ b/addons/core/functions/fnc_getTurretCommander.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index of the vehicles commander. Empty array means no observer position. (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_turrets", "_turret", "_config"]; diff --git a/addons/core/functions/fnc_getTurretConfigPath.sqf b/addons/core/functions/fnc_getTurretConfigPath.sqf index aab3433a4f..e49a518603 100644 --- a/addons/core/functions/fnc_getTurretConfigPath.sqf +++ b/addons/core/functions/fnc_getTurretConfigPath.sqf @@ -10,7 +10,7 @@ * Return value: * Turret config (Config) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_config", "_turretIndex", "_index", "_offset", "_config2", "_foundClasses"]; diff --git a/addons/core/functions/fnc_getTurretCopilot.sqf b/addons/core/functions/fnc_getTurretCopilot.sqf index c2a7e81778..8f8dd9649f 100644 --- a/addons/core/functions/fnc_getTurretCopilot.sqf +++ b/addons/core/functions/fnc_getTurretCopilot.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index of the vehicles gunner. Empty array means no copilot position. (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_turrets", "_turret", "_config"]; diff --git a/addons/core/functions/fnc_getTurretGunner.sqf b/addons/core/functions/fnc_getTurretGunner.sqf index fd1134dc83..04f49a81e1 100644 --- a/addons/core/functions/fnc_getTurretGunner.sqf +++ b/addons/core/functions/fnc_getTurretGunner.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index of the vehicles gunner. Empty array means no gunner position. (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_turrets", "_turret", "_config"]; diff --git a/addons/core/functions/fnc_getTurretIndex.sqf b/addons/core/functions/fnc_getTurretIndex.sqf index 7e62c78848..9665414fe5 100644 --- a/addons/core/functions/fnc_getTurretIndex.sqf +++ b/addons/core/functions/fnc_getTurretIndex.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index array or config path. E.g: [0] for gunner or [0,0] for commander. Returns empty array if unit is not in a turret. (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_vehicle", "_turrets", "_units", "_index"]; diff --git a/addons/core/functions/fnc_getTurrets.sqf b/addons/core/functions/fnc_getTurrets.sqf index 47ffcde090..0ffd164f85 100644 --- a/addons/core/functions/fnc_getTurrets.sqf +++ b/addons/core/functions/fnc_getTurrets.sqf @@ -9,7 +9,7 @@ * Return value: * All turret index arrays of the vehicle. E.g: [[0], [0,0]] (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_type", "_config", "_turrets", "_fnc_addTurret"]; diff --git a/addons/core/functions/fnc_getTurretsFFV.sqf b/addons/core/functions/fnc_getTurretsFFV.sqf index b09dfed027..a188517db8 100644 --- a/addons/core/functions/fnc_getTurretsFFV.sqf +++ b/addons/core/functions/fnc_getTurretsFFV.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index of the vehicles gunner. Empty array means no ffv turrets. (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_turrets", "_turret", "_config"]; diff --git a/addons/core/functions/fnc_getTurretsOther.sqf b/addons/core/functions/fnc_getTurretsOther.sqf index 53673b5a8d..0cc172dac4 100644 --- a/addons/core/functions/fnc_getTurretsOther.sqf +++ b/addons/core/functions/fnc_getTurretsOther.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index of the vehicles gunner. Empty array means no other turrets. (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_turrets", "_turret", "_config"]; diff --git a/addons/core/functions/fnc_getUavControlPosition.sqf b/addons/core/functions/fnc_getUavControlPosition.sqf index 82b04e2928..4e482dee06 100644 --- a/addons/core/functions/fnc_getUavControlPosition.sqf +++ b/addons/core/functions/fnc_getUavControlPosition.sqf @@ -18,7 +18,7 @@ Returns: Example: [ACE_Player] call FUNC(getUavControlPosition) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_uav", "_positionArray", "_playerIndex"]; diff --git a/addons/core/functions/fnc_getVehicleCargo.sqf b/addons/core/functions/fnc_getVehicleCargo.sqf index e0483e8487..77ccdf955c 100644 --- a/addons/core/functions/fnc_getVehicleCargo.sqf +++ b/addons/core/functions/fnc_getVehicleCargo.sqf @@ -9,7 +9,7 @@ * Return value: * Vehicle cargo positions. (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_config", "_cargo", "_codrivers"]; diff --git a/addons/core/functions/fnc_getVehicleCodriver.sqf b/addons/core/functions/fnc_getVehicleCodriver.sqf index 4fd8058d1e..06d7414411 100644 --- a/addons/core/functions/fnc_getVehicleCodriver.sqf +++ b/addons/core/functions/fnc_getVehicleCodriver.sqf @@ -9,7 +9,7 @@ * Return value: * Vehicle codriver positions. (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_config", "_cargo", "_codrivers"]; diff --git a/addons/core/functions/fnc_getVehicleCrew.sqf b/addons/core/functions/fnc_getVehicleCrew.sqf index b14fbe561e..2a24405b0f 100644 --- a/addons/core/functions/fnc_getVehicleCrew.sqf +++ b/addons/core/functions/fnc_getVehicleCrew.sqf @@ -10,7 +10,7 @@ * Return value: * Crew (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_vehicle", "_types", "_crew"]; diff --git a/addons/core/functions/fnc_getWeaponAzimuthAndInclination.sqf b/addons/core/functions/fnc_getWeaponAzimuthAndInclination.sqf index 7433991e29..2cc007ba45 100644 --- a/addons/core/functions/fnc_getWeaponAzimuthAndInclination.sqf +++ b/addons/core/functions/fnc_getWeaponAzimuthAndInclination.sqf @@ -10,7 +10,7 @@ * 0: Azimuth (Number) * 1: Inclination or 'slope' (Number) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_weapon", "_direction", "_azimuth", "_inclination"]; diff --git a/addons/core/functions/fnc_getWeaponType.sqf b/addons/core/functions/fnc_getWeaponType.sqf index 89ee46427b..48aec9f8f3 100644 --- a/addons/core/functions/fnc_getWeaponType.sqf +++ b/addons/core/functions/fnc_getWeaponType.sqf @@ -9,7 +9,7 @@ * Return value: * Slot index of the given class name, 1: primary, 2: secondary, 3: handgun, else: -1 (Number) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_weapon", "_type", "_index"]; diff --git a/addons/core/functions/fnc_getWindDirection.sqf b/addons/core/functions/fnc_getWindDirection.sqf index 5bd4ff12ff..282715c861 100644 --- a/addons/core/functions/fnc_getWindDirection.sqf +++ b/addons/core/functions/fnc_getWindDirection.sqf @@ -9,7 +9,7 @@ * Return value: * Wind direction. (String) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" switch (round (windDir / 360 * 16)) do { case 1 : {localize QUOTE(DOUBLES(STR,GVAR(SSW)))}; diff --git a/addons/core/functions/fnc_goKneeling.sqf b/addons/core/functions/fnc_goKneeling.sqf index fbe7c3b8f3..1188e5c1d7 100644 --- a/addons/core/functions/fnc_goKneeling.sqf +++ b/addons/core/functions/fnc_goKneeling.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_unit"; diff --git a/addons/core/functions/fnc_hadamardProduct.sqf b/addons/core/functions/fnc_hadamardProduct.sqf index dd614f8dd0..f31be8cf7c 100644 --- a/addons/core/functions/fnc_hadamardProduct.sqf +++ b/addons/core/functions/fnc_hadamardProduct.sqf @@ -11,7 +11,7 @@ * Return Value: * Hadamard Product */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" _vector1 = _this select 0; _vector2 = _this select 1; diff --git a/addons/core/functions/fnc_inTransitionAnim.sqf b/addons/core/functions/fnc_inTransitionAnim.sqf index 4ce16aebf9..9b28aa1d8a 100644 --- a/addons/core/functions/fnc_inTransitionAnim.sqf +++ b/addons/core/functions/fnc_inTransitionAnim.sqf @@ -1,4 +1,4 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> animationState (_this select 0) >> "looped") == 0 diff --git a/addons/core/functions/fnc_interpolateFromArray.sqf b/addons/core/functions/fnc_interpolateFromArray.sqf index 8c0c8daa36..20384d5341 100644 --- a/addons/core/functions/fnc_interpolateFromArray.sqf +++ b/addons/core/functions/fnc_interpolateFromArray.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_array", "_value", "_min", "_max"]; diff --git a/addons/core/functions/fnc_isAutoWind.sqf b/addons/core/functions/fnc_isAutoWind.sqf index 50933e40a2..2fa1ce7a2a 100644 --- a/addons/core/functions/fnc_isAutoWind.sqf +++ b/addons/core/functions/fnc_isAutoWind.sqf @@ -9,6 +9,6 @@ * Return value: * This mission has automatic wind? (Bool) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" ["Mission", "Intel", "windForced"] call FUNC(getNumberFromMissionSQM) != 1 diff --git a/addons/core/functions/fnc_isEOD.sqf b/addons/core/functions/fnc_isEOD.sqf index 6149dfa37b..2bf7dfb057 100644 --- a/addons/core/functions/fnc_isEOD.sqf +++ b/addons/core/functions/fnc_isEOD.sqf @@ -18,7 +18,7 @@ Example: _isSpecialist = [player] call FUNC(isEOD); */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_unit"; diff --git a/addons/core/functions/fnc_isEngineer.sqf b/addons/core/functions/fnc_isEngineer.sqf index 2bdb62df4c..a5ed47018b 100644 --- a/addons/core/functions/fnc_isEngineer.sqf +++ b/addons/core/functions/fnc_isEngineer.sqf @@ -9,7 +9,7 @@ * Return Value: * Bool: is the unit an engineer? */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_unit"; diff --git a/addons/core/functions/fnc_isInBuilding.sqf b/addons/core/functions/fnc_isInBuilding.sqf index 0989db42da..1751f5a9c2 100644 --- a/addons/core/functions/fnc_isInBuilding.sqf +++ b/addons/core/functions/fnc_isInBuilding.sqf @@ -9,7 +9,7 @@ * Return value: * Is the unit in a building? (Bool) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" #define DISTANCE 10 diff --git a/addons/core/functions/fnc_isMedic.sqf b/addons/core/functions/fnc_isMedic.sqf index d4efdca5b6..c1c3dcf87b 100644 --- a/addons/core/functions/fnc_isMedic.sqf +++ b/addons/core/functions/fnc_isMedic.sqf @@ -9,7 +9,7 @@ * Return Value: * Bool: is unit medic? */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit"]; diff --git a/addons/core/functions/fnc_isPlayer.sqf b/addons/core/functions/fnc_isPlayer.sqf index 772fae1746..0f646c760f 100644 --- a/addons/core/functions/fnc_isPlayer.sqf +++ b/addons/core/functions/fnc_isPlayer.sqf @@ -10,6 +10,6 @@ * Return Value: * Bool: is unit a player? */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" isPlayer (_this select 0) || {_this select 0 == call FUNC(player)} diff --git a/addons/core/functions/fnc_isTurnedOut.sqf b/addons/core/functions/fnc_isTurnedOut.sqf index 8f722ed733..c373403193 100644 --- a/addons/core/functions/fnc_isTurnedOut.sqf +++ b/addons/core/functions/fnc_isTurnedOut.sqf @@ -9,7 +9,7 @@ * Return value: * Is the unit turned out or not? Will return false if there is no option to turn out in the first place. (Bool) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_vehicle", "_config", "_animation", "_action", "_inAction", "_turretIndex"]; diff --git a/addons/core/functions/fnc_letterToCode.sqf b/addons/core/functions/fnc_letterToCode.sqf index 59243915f5..a00bb46603 100644 --- a/addons/core/functions/fnc_letterToCode.sqf +++ b/addons/core/functions/fnc_letterToCode.sqf @@ -1,4 +1,4 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" [-1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38, 50, 49, 24, 25, 16, 19, 31, 20, 22, 47, 17, 45, 44, 21] select (["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"] find toUpper (_this select 0)) + 1 diff --git a/addons/core/functions/fnc_log.sqf b/addons/core/functions/fnc_log.sqf index 43a5a27682..907303a9c4 100644 --- a/addons/core/functions/fnc_log.sqf +++ b/addons/core/functions/fnc_log.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" if ((_this select 0) in (missionNamespace getVariable ["ACE_Debug", []])) then { private ["_type", "_argument", "_function", "_showInGame"]; diff --git a/addons/core/functions/fnc_logControls.sqf b/addons/core/functions/fnc_logControls.sqf index 5a0a17c317..db5efb9f90 100644 --- a/addons/core/functions/fnc_logControls.sqf +++ b/addons/core/functions/fnc_logControls.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_array", "_index"]; diff --git a/addons/core/functions/fnc_logDisplays.sqf b/addons/core/functions/fnc_logDisplays.sqf index 81598facf4..b7474d0cf1 100644 --- a/addons/core/functions/fnc_logDisplays.sqf +++ b/addons/core/functions/fnc_logDisplays.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_array", "_index"]; diff --git a/addons/core/functions/fnc_map.sqf b/addons/core/functions/fnc_map.sqf index 99c52ae742..8ee27f0435 100644 --- a/addons/core/functions/fnc_map.sqf +++ b/addons/core/functions/fnc_map.sqf @@ -13,7 +13,7 @@ * Usage: * [["2", "gobblecock", "25"], {parseNumber _this}] call FUNC(map) ==> [2, 0, 25] */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_array", "_code"]; diff --git a/addons/core/functions/fnc_moduleCheckPBOs.sqf b/addons/core/functions/fnc_moduleCheckPBOs.sqf index 4b5ea2374a..946a92ed06 100644 --- a/addons/core/functions/fnc_moduleCheckPBOs.sqf +++ b/addons/core/functions/fnc_moduleCheckPBOs.sqf @@ -9,7 +9,7 @@ * Return Value: * None */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" _logic = _this select 0; _units = _this select 1; diff --git a/addons/core/functions/fnc_moduleLSDVehicles.sqf b/addons/core/functions/fnc_moduleLSDVehicles.sqf index f06c1cf2ea..9609deb041 100644 --- a/addons/core/functions/fnc_moduleLSDVehicles.sqf +++ b/addons/core/functions/fnc_moduleLSDVehicles.sqf @@ -9,7 +9,7 @@ * Return Value: * None */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" _logic = _this select 0; _units = _this select 1; diff --git a/addons/core/functions/fnc_monitor.sqf b/addons/core/functions/fnc_monitor.sqf index dcb9e5163f..edac532fd8 100644 --- a/addons/core/functions/fnc_monitor.sqf +++ b/addons/core/functions/fnc_monitor.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" terminate (missionNamespace getVariable [QGVAR(MonitorFnc), scriptNull]); diff --git a/addons/core/functions/fnc_muteUnit.sqf b/addons/core/functions/fnc_muteUnit.sqf index 8edf9df391..fe32f5c55d 100644 --- a/addons/core/functions/fnc_muteUnit.sqf +++ b/addons/core/functions/fnc_muteUnit.sqf @@ -9,7 +9,7 @@ * Return value: * Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_speaker"]; diff --git a/addons/core/functions/fnc_numberToDigits.sqf b/addons/core/functions/fnc_numberToDigits.sqf index 465955b455..70c1fa1e1c 100644 --- a/addons/core/functions/fnc_numberToDigits.sqf +++ b/addons/core/functions/fnc_numberToDigits.sqf @@ -10,7 +10,7 @@ * Return value: * Digits. The maximum count is six digits. (Array) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_number", "_minLength", "_length", "_digits", "_index", "_count"]; diff --git a/addons/core/functions/fnc_numberToDigitsString.sqf b/addons/core/functions/fnc_numberToDigitsString.sqf index db4e33e6cb..449c22ba53 100644 --- a/addons/core/functions/fnc_numberToDigitsString.sqf +++ b/addons/core/functions/fnc_numberToDigitsString.sqf @@ -10,7 +10,7 @@ * Return value: * Digits. The maximum length is six digits. (String) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_digits", "_count", "_string", "_index"]; diff --git a/addons/core/functions/fnc_onLoadRscDisplayChannel.sqf b/addons/core/functions/fnc_onLoadRscDisplayChannel.sqf index 2a2fbfc9a4..76c259aa8c 100644 --- a/addons/core/functions/fnc_onLoadRscDisplayChannel.sqf +++ b/addons/core/functions/fnc_onLoadRscDisplayChannel.sqf @@ -13,7 +13,7 @@ Returns: Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" uiNamespace setVariable ["ACE_ctrlChannel", (_this select 0) displayCtrl 101]; diff --git a/addons/core/functions/fnc_owned.sqf b/addons/core/functions/fnc_owned.sqf index 4fa1dbeb98..59d5d3229e 100644 --- a/addons/core/functions/fnc_owned.sqf +++ b/addons/core/functions/fnc_owned.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_object"; diff --git a/addons/core/functions/fnc_player.sqf b/addons/core/functions/fnc_player.sqf index 3e5990f84b..49c76e86c9 100644 --- a/addons/core/functions/fnc_player.sqf +++ b/addons/core/functions/fnc_player.sqf @@ -10,6 +10,6 @@ * Return Value: * Player controlled unit (object) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" missionNamespace getVariable ["bis_fnc_moduleRemoteControl_unit", player] diff --git a/addons/core/functions/fnc_playerSide.sqf b/addons/core/functions/fnc_playerSide.sqf index 632cf11abf..924e3e23d5 100644 --- a/addons/core/functions/fnc_playerSide.sqf +++ b/addons/core/functions/fnc_playerSide.sqf @@ -1,4 +1,4 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" side group ACE_player diff --git a/addons/core/functions/fnc_progressBar.sqf b/addons/core/functions/fnc_progressBar.sqf index 189208e602..f4afd77ab7 100644 --- a/addons/core/functions/fnc_progressBar.sqf +++ b/addons/core/functions/fnc_progressBar.sqf @@ -13,7 +13,7 @@ * Return value: * Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" closeDialog 0; createDialog QGVAR(ProgressBar_Dialog); diff --git a/addons/core/functions/fnc_queueAnimation.sqf b/addons/core/functions/fnc_queueAnimation.sqf index a489a46174..256186d912 100644 --- a/addons/core/functions/fnc_queueAnimation.sqf +++ b/addons/core/functions/fnc_queueAnimation.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" terminate (missionNamespace getVariable [QGVAR(waitForAnimationHandle), scriptNull]); diff --git a/addons/core/functions/fnc_readBooleanParameterFromModule.sqf b/addons/core/functions/fnc_readBooleanParameterFromModule.sqf index 9ee2faa001..0738d107da 100644 --- a/addons/core/functions/fnc_readBooleanParameterFromModule.sqf +++ b/addons/core/functions/fnc_readBooleanParameterFromModule.sqf @@ -11,7 +11,7 @@ * Return Value: * None */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_logic", "_parameterName", "_moduleParameterName"]; diff --git a/addons/core/functions/fnc_readNumericParameterFromModule.sqf b/addons/core/functions/fnc_readNumericParameterFromModule.sqf index a9c35f5b46..4e174e6248 100644 --- a/addons/core/functions/fnc_readNumericParameterFromModule.sqf +++ b/addons/core/functions/fnc_readNumericParameterFromModule.sqf @@ -11,7 +11,7 @@ * Return Value: * None */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_logic", "_parameterName", "_moduleParameterName", "_value"]; diff --git a/addons/core/functions/fnc_removeActionEventHandler.sqf b/addons/core/functions/fnc_removeActionEventHandler.sqf index 7d92b3de75..e706e21369 100644 --- a/addons/core/functions/fnc_removeActionEventHandler.sqf +++ b/addons/core/functions/fnc_removeActionEventHandler.sqf @@ -11,7 +11,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_action", "_id", "_name", "_actionsVar", "_actionID", "_actions", "_currentID", "_actionIDs", "_count"]; diff --git a/addons/core/functions/fnc_removeActionMenuEventHandler.sqf b/addons/core/functions/fnc_removeActionMenuEventHandler.sqf index 7c45bae112..2efab72c12 100644 --- a/addons/core/functions/fnc_removeActionMenuEventHandler.sqf +++ b/addons/core/functions/fnc_removeActionMenuEventHandler.sqf @@ -11,7 +11,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_action", "_id", "_name", "_actionsVar", "_currentID", "_actionIDs", "_actions", "_actionID", "_nameVar"]; diff --git a/addons/core/functions/fnc_removeCameraEventHandler.sqf b/addons/core/functions/fnc_removeCameraEventHandler.sqf index 0fe8953078..3b8c6ecd34 100644 --- a/addons/core/functions/fnc_removeCameraEventHandler.sqf +++ b/addons/core/functions/fnc_removeCameraEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_id", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_removeCustomEventHandler.sqf b/addons/core/functions/fnc_removeCustomEventHandler.sqf index 771ea9f5bf..02290c6e51 100644 --- a/addons/core/functions/fnc_removeCustomEventHandler.sqf +++ b/addons/core/functions/fnc_removeCustomEventHandler.sqf @@ -11,7 +11,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_object", "_type", "_id", "_name", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_removeInfoDisplayEventHandler.sqf b/addons/core/functions/fnc_removeInfoDisplayEventHandler.sqf index 160002990c..ecbfa3969a 100644 --- a/addons/core/functions/fnc_removeInfoDisplayEventHandler.sqf +++ b/addons/core/functions/fnc_removeInfoDisplayEventHandler.sqf @@ -10,7 +10,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_type", "_id", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_removeInventoryDisplayLoadedEventHandler.sqf b/addons/core/functions/fnc_removeInventoryDisplayLoadedEventHandler.sqf index f022d7d228..efe8c10709 100644 --- a/addons/core/functions/fnc_removeInventoryDisplayLoadedEventHandler.sqf +++ b/addons/core/functions/fnc_removeInventoryDisplayLoadedEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_id", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_removeMapMarkerCreatedEventHandler.sqf b/addons/core/functions/fnc_removeMapMarkerCreatedEventHandler.sqf index 0f31b5e886..9724a73d22 100644 --- a/addons/core/functions/fnc_removeMapMarkerCreatedEventHandler.sqf +++ b/addons/core/functions/fnc_removeMapMarkerCreatedEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_id", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_removeScrollWheelEventHandler.sqf b/addons/core/functions/fnc_removeScrollWheelEventHandler.sqf index 914064538d..8d17d8ea40 100644 --- a/addons/core/functions/fnc_removeScrollWheelEventHandler.sqf +++ b/addons/core/functions/fnc_removeScrollWheelEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_id", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/core/functions/fnc_restoreVariablesJIP.sqf b/addons/core/functions/fnc_restoreVariablesJIP.sqf index 2c173a054c..96e2871f2b 100644 --- a/addons/core/functions/fnc_restoreVariablesJIP.sqf +++ b/addons/core/functions/fnc_restoreVariablesJIP.sqf @@ -9,7 +9,7 @@ * Return value: * Nothing. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_respawnVariables"]; diff --git a/addons/core/functions/fnc_revertKeyCodeLocalized.sqf b/addons/core/functions/fnc_revertKeyCodeLocalized.sqf index bdffb3a6c9..eeb42aaeb7 100644 --- a/addons/core/functions/fnc_revertKeyCodeLocalized.sqf +++ b/addons/core/functions/fnc_revertKeyCodeLocalized.sqf @@ -9,7 +9,7 @@ * Return value: * What input will result in the given key code? (String) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_keyCode", "_key", "_alt", "_ctrl", "_shft"]; diff --git a/addons/core/functions/fnc_sanitizeString.sqf b/addons/core/functions/fnc_sanitizeString.sqf index 44717915db..2892d2f0e0 100644 --- a/addons/core/functions/fnc_sanitizeString.sqf +++ b/addons/core/functions/fnc_sanitizeString.sqf @@ -10,7 +10,7 @@ * Return Value: * Sanitized string */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_string", "_removeTags", "_array", "_arrayNew"]; diff --git a/addons/core/functions/fnc_serverLog.sqf b/addons/core/functions/fnc_serverLog.sqf index e2c981302d..d95c2f141d 100644 --- a/addons/core/functions/fnc_serverLog.sqf +++ b/addons/core/functions/fnc_serverLog.sqf @@ -1,5 +1,5 @@ // by CAA-Picard -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" if (isServer) then { diag_log _this; diff --git a/addons/core/functions/fnc_setCaptivityStatus.sqf b/addons/core/functions/fnc_setCaptivityStatus.sqf index b943fce4ab..5a5ad366cb 100644 --- a/addons/core/functions/fnc_setCaptivityStatus.sqf +++ b/addons/core/functions/fnc_setCaptivityStatus.sqf @@ -11,7 +11,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_reason", "_status", "_captivityReasons", "_unitCaptivityReasons", "_captivityReasonsBooleans", "_bitmask"]; diff --git a/addons/core/functions/fnc_setForceWalkStatus.sqf b/addons/core/functions/fnc_setForceWalkStatus.sqf index 52b674015f..41e9b49be1 100644 --- a/addons/core/functions/fnc_setForceWalkStatus.sqf +++ b/addons/core/functions/fnc_setForceWalkStatus.sqf @@ -18,7 +18,7 @@ Returns: Example: [ACE_Player, "BrokenLeg", true] call FUNC(setForceWalkStatus) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_reason", "_status", "_forceWalkReasons", "_unitForceWalkReasons", "_forceWalkReasonsBooleans", "_bitmaskNumber"]; diff --git a/addons/core/functions/fnc_setKeyDefault.sqf b/addons/core/functions/fnc_setKeyDefault.sqf index e33843dc28..7d79d1b2f7 100644 --- a/addons/core/functions/fnc_setKeyDefault.sqf +++ b/addons/core/functions/fnc_setKeyDefault.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_overwrite", "_saveProfile", "_config", "_count", "_index", "_configFile", "_name", "_key", "_shft", "_ctrl", "_alt", "_keyCode", "_state"]; diff --git a/addons/core/functions/fnc_setName.sqf b/addons/core/functions/fnc_setName.sqf index d50d5b1987..b4c59c4b95 100644 --- a/addons/core/functions/fnc_setName.sqf +++ b/addons/core/functions/fnc_setName.sqf @@ -9,7 +9,7 @@ * Return value: * Nothing. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_name"]; diff --git a/addons/core/functions/fnc_setParameter.sqf b/addons/core/functions/fnc_setParameter.sqf index 889c242bb3..6881f935bc 100644 --- a/addons/core/functions/fnc_setParameter.sqf +++ b/addons/core/functions/fnc_setParameter.sqf @@ -10,7 +10,7 @@ * Return Value: * None */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_name", "_value"]; diff --git a/addons/core/functions/fnc_setPitchBankYaw.sqf b/addons/core/functions/fnc_setPitchBankYaw.sqf index f5d13eb6fe..3b9a6c0020 100644 --- a/addons/core/functions/fnc_setPitchBankYaw.sqf +++ b/addons/core/functions/fnc_setPitchBankYaw.sqf @@ -13,7 +13,7 @@ * Return Value: * None */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_object", "_aroundX", "_aroundY", "_aroundZ", "_dirX", "_dirY", "_dirZ", "_upX", "_upY", "_upZ", "_dir", "_up", "_dirXTemp", "_upXTemp"]; diff --git a/addons/core/functions/fnc_setVariableJIP.sqf b/addons/core/functions/fnc_setVariableJIP.sqf index 8e790353f4..ec9eb84a13 100644 --- a/addons/core/functions/fnc_setVariableJIP.sqf +++ b/addons/core/functions/fnc_setVariableJIP.sqf @@ -11,7 +11,7 @@ * Return value: * Nothing. */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_varName", "_value", "_respawnVariables"]; diff --git a/addons/core/functions/fnc_showUser.sqf b/addons/core/functions/fnc_showUser.sqf index a5d602251d..f07b9349ea 100644 --- a/addons/core/functions/fnc_showUser.sqf +++ b/addons/core/functions/fnc_showUser.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private "_object"; diff --git a/addons/core/functions/fnc_stringToColoredText.sqf b/addons/core/functions/fnc_stringToColoredText.sqf index 4f6b1e7143..1335601ced 100644 --- a/addons/core/functions/fnc_stringToColoredText.sqf +++ b/addons/core/functions/fnc_stringToColoredText.sqf @@ -10,7 +10,7 @@ * Return value: * Text */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_string", "_color"]; diff --git a/addons/core/functions/fnc_subString.sqf b/addons/core/functions/fnc_subString.sqf index 2389dbed00..8360068069 100644 --- a/addons/core/functions/fnc_subString.sqf +++ b/addons/core/functions/fnc_subString.sqf @@ -11,7 +11,7 @@ * Return Value: * String when successfull / False when not */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" _string = _this select 0; _index = _this select 1; diff --git a/addons/core/functions/fnc_toBin.sqf b/addons/core/functions/fnc_toBin.sqf index 4fdcded607..18cd4bf04f 100644 --- a/addons/core/functions/fnc_toBin.sqf +++ b/addons/core/functions/fnc_toBin.sqf @@ -10,7 +10,7 @@ A number Return Value: A binary number, String */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_number", "_minLength", "_sign", "_bin", "_rest"]; diff --git a/addons/core/functions/fnc_toBitmask.sqf b/addons/core/functions/fnc_toBitmask.sqf index eb69e67621..da4ce1cc11 100644 --- a/addons/core/functions/fnc_toBitmask.sqf +++ b/addons/core/functions/fnc_toBitmask.sqf @@ -9,7 +9,7 @@ * Return value: * Bitmask (Number) */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_array", "_result"]; diff --git a/addons/core/functions/fnc_toHex.sqf b/addons/core/functions/fnc_toHex.sqf index df8f3654de..a4f58a123a 100644 --- a/addons/core/functions/fnc_toHex.sqf +++ b/addons/core/functions/fnc_toHex.sqf @@ -10,7 +10,7 @@ A number Return Value: A hexadecimal number, String */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_number", "_minLength", "_sign", "_hex", "_rest"]; diff --git a/addons/core/functions/fnc_toNumber.sqf b/addons/core/functions/fnc_toNumber.sqf index fc481398d3..c68377b0f7 100644 --- a/addons/core/functions/fnc_toNumber.sqf +++ b/addons/core/functions/fnc_toNumber.sqf @@ -16,7 +16,7 @@ Example: _number = ["102"] call FUNC(toNumber); */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" if (typeName (_this select 0) == "SCALAR") exitWith { (_this select 0) diff --git a/addons/core/functions/fnc_unmuteUnit.sqf b/addons/core/functions/fnc_unmuteUnit.sqf index 8de7708d4b..d41f023791 100644 --- a/addons/core/functions/fnc_unmuteUnit.sqf +++ b/addons/core/functions/fnc_unmuteUnit.sqf @@ -9,7 +9,7 @@ * Return value: * Nothing */ -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_unit", "_speaker"]; diff --git a/addons/core/scripts/KeyInput/initCanInteractFunction.sqf b/addons/core/scripts/KeyInput/initCanInteractFunction.sqf index d718be04fe..29237b6fdd 100644 --- a/addons/core/scripts/KeyInput/initCanInteractFunction.sqf +++ b/addons/core/scripts/KeyInput/initCanInteractFunction.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" private ["_function", "_configFile", "_count", "_index", "_config", "_configName", "_condition"]; diff --git a/addons/core/scripts/KeyInput/initKeys.sqf b/addons/core/scripts/KeyInput/initKeys.sqf index d8c19833db..6626265922 100644 --- a/addons/core/scripts/KeyInput/initKeys.sqf +++ b/addons/core/scripts/KeyInput/initKeys.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" _config = configFile >> QGVAR(Default_Keys); _count = count _config; diff --git a/addons/core/scripts/KeyInput/initScrollWheel.sqf b/addons/core/scripts/KeyInput/initScrollWheel.sqf index 5a8bf57d79..c2d2c4d2d7 100644 --- a/addons/core/scripts/KeyInput/initScrollWheel.sqf +++ b/addons/core/scripts/KeyInput/initScrollWheel.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" GVAR(ScrollWheelFrame) = diag_frameno; diff --git a/addons/core/scripts/Version/checkVersionNumber.sqf b/addons/core/scripts/Version/checkVersionNumber.sqf index ae3c438f70..44b5738e00 100644 --- a/addons/core/scripts/Version/checkVersionNumber.sqf +++ b/addons/core/scripts/Version/checkVersionNumber.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" sleep 1; //wait for module diff --git a/addons/core/scripts/assignedItemFix.sqf b/addons/core/scripts/assignedItemFix.sqf index bf8dc193ec..4b031c1220 100644 --- a/addons/core/scripts/assignedItemFix.sqf +++ b/addons/core/scripts/assignedItemFix.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" if (isNil "ACE_itemFix") then { ACE_isMapEnabled = call {_config = missionConfigFile >> "showMap"; !isNumber _config || {getNumber _config == 1}}; diff --git a/addons/core/scripts/closeMenu.sqf b/addons/core/scripts/closeMenu.sqf index 86206f2c93..1b8e4d7814 100644 --- a/addons/core/scripts/closeMenu.sqf +++ b/addons/core/scripts/closeMenu.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" closeDialog 0; [localize QUOTE(DOUBLES(STR,GVAR(ProfileNotSaved)))] call FUNC(displayTextStructured); diff --git a/addons/core/scripts/editKey.sqf b/addons/core/scripts/editKey.sqf index d3661c1e9c..a97de0c1db 100644 --- a/addons/core/scripts/editKey.sqf +++ b/addons/core/scripts/editKey.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" #define GRAY [0.25, 0.25, 0.25, 1] #define WHITE [1, 1, 1, 1] diff --git a/addons/core/scripts/keyInput.sqf b/addons/core/scripts/keyInput.sqf index 5e06d23bd5..031f03afb1 100644 --- a/addons/core/scripts/keyInput.sqf +++ b/addons/core/scripts/keyInput.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" #define FORBIDDEN_KEYS [42, 54, 29, 157, 56, 184, 0, 183, 197, 1] diff --git a/addons/core/scripts/keyRelease.sqf b/addons/core/scripts/keyRelease.sqf index d0d1b736a0..27f58b1b73 100644 --- a/addons/core/scripts/keyRelease.sqf +++ b/addons/core/scripts/keyRelease.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" _keyIndex = _this select 1; diff --git a/addons/core/scripts/nextKeys.sqf b/addons/core/scripts/nextKeys.sqf index d3d96ce20c..a1d56d94db 100644 --- a/addons/core/scripts/nextKeys.sqf +++ b/addons/core/scripts/nextKeys.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" #define OFFSET_1 100 #define OFFSET_2 200 diff --git a/addons/core/scripts/openMenu.sqf b/addons/core/scripts/openMenu.sqf index 6e68a59482..2aee613907 100644 --- a/addons/core/scripts/openMenu.sqf +++ b/addons/core/scripts/openMenu.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" #define OFFSET_1 100 #define OFFSET_2 200 diff --git a/addons/core/scripts/readParameters.sqf b/addons/core/scripts/readParameters.sqf index 3b17ea7f1f..31343e2f53 100644 --- a/addons/core/scripts/readParameters.sqf +++ b/addons/core/scripts/readParameters.sqf @@ -1,5 +1,5 @@ // by CAA-Picard -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" // Read ACE_Parameters from config and set them on the mission namespace _config = configFile >> "ACE_Parameters_Numeric"; diff --git a/addons/core/scripts/toggleState.sqf b/addons/core/scripts/toggleState.sqf index ebffac5701..054dbe9120 100644 --- a/addons/core/scripts/toggleState.sqf +++ b/addons/core/scripts/toggleState.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "script_component.hpp" +#include "\z\ace\addons\core\script_component.hpp" _index = _this select 0;