COMPILE_FILE macros

This commit is contained in:
PabstMirror 2015-01-12 05:14:15 -06:00
parent db48e0c83d
commit a9c20dcaf6
145 changed files with 158 additions and 158 deletions

View File

@ -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;
};
};

View File

@ -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 {

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private "_dlg";

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private "_name";

View File

@ -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

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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);

View File

@ -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}

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_unit", "_target", "_owner"];

View File

@ -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

View File

@ -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"];

View File

@ -14,7 +14,7 @@
* Return value:
* None.
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_mode", "_checkAll", "_whitelist", "_logic"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_unit", "_target", "_lockTarget", "_owner"];

View File

@ -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;

View File

@ -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

View File

@ -9,7 +9,7 @@
* Return value:
* Code (String)
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private "_function";

View File

@ -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]

View File

@ -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"]

View File

@ -9,7 +9,7 @@
* Return value:
* Nothing
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_state", "_dlg"];

View File

@ -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

View File

@ -10,7 +10,7 @@
* Return value:
* Nothing
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_text", "_image"];

View File

@ -10,7 +10,7 @@
* Return value:
* Nothing
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_text", "_size", "_isShown", "_ctrlHint"];

View File

@ -14,7 +14,7 @@
* Return value:
* Nothing
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_unit", "_animation", "_priority", "_force"];

View File

@ -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 {

View File

@ -12,7 +12,7 @@
* Return value:
* Nothing.
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_arguments", "_function", "_unit", "_name"];

View File

@ -15,7 +15,7 @@
* Return value:
* Nothing
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_arguments", "_function", "_unit", "_id"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private "_target";

View File

@ -4,7 +4,7 @@
(configFile >> "CfgAmmo") call FUNC(exportConfig);
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private "_fnc_logEntries";

View File

@ -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"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_crate", "_weapons", "_items"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private "_unit";

View File

@ -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"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_name", "_cfgClass", "_classes"];

View File

@ -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"];

View File

@ -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"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_unit", "_anim", "_stance"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_configName", "_index"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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}

View File

@ -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;

View File

@ -10,7 +10,7 @@
* Return value:
* The name.
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_unit", "_showEffective", "_name"];

View File

@ -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";

View File

@ -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)]

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -10,7 +10,7 @@
* Return value:
* Crew (Array)
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_vehicle", "_types", "_crew"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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)))};

View File

@ -9,7 +9,7 @@
* Return value:
* None.
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private "_unit";

View File

@ -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;

View File

@ -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

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_array", "_value", "_min", "_max"];

View File

@ -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

View File

@ -18,7 +18,7 @@
Example:
_isSpecialist = [player] call FUNC(isEOD);
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private "_unit";

View File

@ -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";

View File

@ -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

View File

@ -9,7 +9,7 @@
* Return Value:
* Bool: is unit medic?
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_unit"];

View File

@ -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)}

View File

@ -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"];

View File

@ -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

View File

@ -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"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_array", "_index"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_array", "_index"];

View File

@ -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"];

View File

@ -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;

View File

@ -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;

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
terminate (missionNamespace getVariable [QGVAR(MonitorFnc), scriptNull]);

View File

@ -9,7 +9,7 @@
* Return value:
* Nothing
*/
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private ["_unit", "_speaker"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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];

View File

@ -1,5 +1,5 @@
// by commy2
#include "script_component.hpp"
#include "\z\ace\addons\core\script_component.hpp"
private "_object";

View File

@ -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]

Some files were not shown because too many files have changed in this diff Show More