Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/api/fnc_addDisplayPassthroughKeys.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
* Public: Yes
*/

if (!hasInterface) exitWith {};
if (!hasInterface) exitWith {false};

_this call EFUNC(sys_core,addDisplayPassthroughKeys);
2 changes: 1 addition & 1 deletion addons/api/fnc_addNotificationDisplay.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Public: Yes
*/

if (!hasInterface) exitWith {};
if (!hasInterface) exitWith {-1};

params [["_displayId", -1, [0]]];

Expand Down
1 change: 1 addition & 0 deletions addons/api/fnc_addRackToVehicle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ if (_forceInitialisation) then {

if (!_success) exitWith {
WARNING_1("Vehicle %1 failed to initialise",_vehicle);
false
};

if (count _rackConfiguration != 9) exitWith {
Expand Down
2 changes: 1 addition & 1 deletion addons/api/fnc_babelAddLanguageType.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

// Babel is not maintained on non-clients.
if (!hasInterface) exitWith {};
if (!hasInterface) exitWith {false};

params [
["_languageKey", "", [""]],
Expand Down
2 changes: 1 addition & 1 deletion addons/api/fnc_babelGetLanguageId.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 0: Language display name <STRING>
*
* Return Value:
* Language ID <STRING>
* Language ID (or false on bad input) <STRING><BOOL>
*
* Example:
* ["English"] call acre_api_fnc_babelGetLanguageId;
Expand Down
2 changes: 1 addition & 1 deletion addons/api/fnc_babelSetupMission.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* 1: Language display name <STRING>
*
* Return Value:
* Setup successful <BOOL>
* None
*
* Example:
* [ [west, "English", "French"], [east, "Russian"], [civilian, "French"] ] call acre_api_fnc_babelSetupMission;
Expand Down
2 changes: 1 addition & 1 deletion addons/api/fnc_getCurrentRadioChannelNumber.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* None
*
* Return Value:
* Channel number. Returns -1 if no active radio or the channel can't be found. <NUMBER>
* Channel number (or array for PRC77). Returns -1 if no active radio or the channel can't be found. <NUMBER><ARRAY>
*
* Example:
* [] call acre_api_fnc_getCurrentRadioChannelNumber;
Expand Down
1 change: 1 addition & 0 deletions addons/api/fnc_getMountedRackRadio.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ params [

if (!([_rackId] call EFUNC(sys_radio,radioExists))) exitWith {
WARNING_1("Non existant rack ID provided: %1",_rackId);
""
};

private _return = "";
Expand Down
2 changes: 1 addition & 1 deletion addons/api/fnc_getRadioByType.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* 1: Optional unit or List of String <ARRAY, OBJECT> (default: [])
*
* Return Value:
* Radio ID <STRING>
* Radio ID (or nil if not found) <STRING><NIL>
*
* Example:
* _radioId = ["ACRE_PRC152"] call acre_api_fnc_getRadioByType
Expand Down
2 changes: 1 addition & 1 deletion addons/api/fnc_getRadioChannel.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 0: Radio ID <STRING>
*
* Return Value:
* Channel number, 1-N depending on the radio <NUMBER>
* Channel number, 1-N depending on the radio (or array for PRC77) <NUMBER><ARRAY>
*
* Example:
* _currentChannel = ["ACRE_PRC152_ID_123"] call acre_api_fnc_getRadioChannel;
Expand Down
2 changes: 1 addition & 1 deletion addons/api/fnc_getRadioOnOffState.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 0: Radio ID <STRING>
*
* Return Value:
* TRUE if radio is ON, False if the radio is OFF <BOOLEAN>
* TRUE if radio is ON, False if the radio is OFF (or -1 if not valid) <BOOLEAN><NUMBER>
*
* Example:
* ["ACRE_PR77_ID_1"] call acre_api_fnc_getRadioOnOffState
Expand Down
2 changes: 1 addition & 1 deletion addons/api/fnc_getRevealToAI.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* None
*
* Return Value:
* AI enabled <NUMBER>
* AI enabled (or false if setting not ready) <NUMBER><BOOL>
*
* Example:
* [] call acre_api_fnc_getRevealToAI;
Expand Down
1 change: 1 addition & 0 deletions addons/api/fnc_getVehicleRacks.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ params [

if (isNull _vehicle) exitWith {
WARNING_1("Vehicle %1 not defined.",_vehicle);
[]
};

[_vehicle] call EFUNC(sys_rack,getVehicleRacks)
1 change: 1 addition & 0 deletions addons/api/fnc_removeAllRacksFromVehicle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ if (!([_vehicle] call FUNC(areVehicleRacksInitialized))) then {

if (!_success) exitWith {
WARNING_1("Vehicle %1 failed to initialise",_vehicle);
false
};

[{
Expand Down
2 changes: 2 additions & 0 deletions addons/api/fnc_setPresetChannelData.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@
*
* Public: Yes
*/

false // not implemented
2 changes: 1 addition & 1 deletion addons/api/fnc_setPresetChannelField.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Arguments:
* 0: Radio Base class <STRING>
* 1: Preset name <STRING>
* 2: Channel number <NUMBER>
* 2: Channel number <NUMBER><STRING>
* 3: Field name <STRING>
* 4: value <ANY>
*
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_bf888s/functions/fnc_render.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Renders the radio when opened.
*
* Arguments:
* 0: Display identifier <NUMBER>
* 0: Display <DISPLAY>
*
* Return Value:
* True <BOOL>
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_core/fnc_getLanguageName.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Get the language display name from the language key.
*
* Arguments:
* 0: Language key <STRING>
* 0: Language key or index <STRING><NUMBER>
*
* Return Value:
* Language display name ("" if not found) <STRING>
Expand Down
3 changes: 3 additions & 0 deletions addons/sys_core/fnc_inZeus.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* Author: Brett Mayson
* Checks if the local player is in the Zeus interface.
*
* Arguments:
* None
*
* Return Value:
* In Zeus Interface <BOOL>
*
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_core/fnc_setLossModelScale.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 0: Terrain loss scale (value between 0 and 1) <NUMBER>
*
* Return Value:
* Terrain loss scale <NUMBER>
* Terrain loss scale (or false on headless) <NUMBER><BOOL>
*
* Example:
* [0.5] call acre_sys_core_fnc_setLossModelScale
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_core/fnc_setRevealToAI.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* 0: Reveal factor players to AI that speak <NUMBER>
*
* Return Value:
* Reveal factor for revealing players to AI <NUMBER>
* Reveal factor for revealing players to AI (or false on headless) <NUMBER><BOOL>
*
* Example:
* _status = [0.5] call acre_sys_core_fnc_setRevealToAI
Expand Down
4 changes: 2 additions & 2 deletions addons/sys_external/fnc_checkReturnGive.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* Check if a radio being used externally is being returned to the owner or given to another unit.
*
* Arguments:
* 1: Unique radio ID <STRING>
* 0: Unit to be given/returned a radio <OBJECT>
* 0: Unique radio ID <STRING>
* 1: Unit to be given/returned a radio <OBJECT>
*
* Return Value:
* Radio is returned (true) or given (false) <BOOL>
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_gestures/fnc_startedSpeaking.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Arguments:
* 0: Unit that started speaking <OBJECT>
* 1: Is unit on radio <BOOL>
* 2: Radio unit is currently using <OBJECT>
* 2: Radio unit is currently using <STRING>
*
* Return Value:
* None
Expand Down
4 changes: 2 additions & 2 deletions addons/sys_gui/fnc_showVehicleInfo.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
* Show or hide Vehicle Info UI.
*
* Arguments:
* 0: Player <OBJECT>
* 0: Show <BOOL>
*
* Return Value:
* None
*
* Example:
* [player] call acre_sys_gui_fnc_showVehicleInfo
* [true] call acre_sys_gui_fnc_showVehicleInfo
*
* Public: No
*/
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_intercom/vic3/fnc_vic3ffcsRender.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Renders the VIC3 FFCS when opened.
*
* Arguments:
* 0: Display identifier <NUMBER>
* 0: Display identifier <DISPLAY>
*
* Return Value:
* True <BOOL>
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_list/fnc_addDisplaySupport.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* 0: Display ID <NUMBER>
*
* Return Value:
* None
* Index <NUMBER>
*
* Example:
* [312] call acre_sys_list_fnc_addDisplaySupport
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_prc343/functions/fnc_render.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Renders the radio when opened.
*
* Arguments:
* 0: Display identifier <NUMBER>
* 0: Display <DISPLAY>
*
* Return Value:
* True <BOOL>
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_prc77/functions/fnc_render.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Renders the radio when opened.
*
* Arguments:
* 0: Display identifier <NUMBER>
* 0: Display <DISPLAY>
*
* Return Value:
* True <BOOL>
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_prc77/radio/fnc_handleEndTransmission.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Arguments:
* 0: Radio ID <STRING>
* 1: Event: "handleEndTransmission" <STRING> (Unused)
* 2: Event data with transmitting ID <STRING>
* 2: Event data with transmitting ID <ARRAY>
* 3: Radio data <HASH> (Unused)
* 4: Remote <BOOL> (Unused)
*
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_prc77/radio/fnc_setCurrentChannel.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Arguments:
* 0: Radio ID <STRING>
* 1: Event: "setCurrentChannel" <STRING> (Unused)
* 2: Event data <NUMBER>
* 2: Event data <ARRAY>
* 3: Radio data <HASH>
* 4: Remote <BOOL> (Unused)
*
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_rack/fnc_configWiredIntercoms.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Arguments:
* 0: Vehicle <OBJECT>
* 1: Rack class <STRING>
* 1: Rack class <CONFIG>
*
* Return Value:
* Wired Intercoms <ARRAY>
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_rack/fnc_getRackBaseClassname.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 0: Classname <STRING>
*
* Return Value:
* Is Unique <BOOL>
* Base classname <STRING>
*
* Example:
* ["acre_vrc111_id_1"] call acre_sys_rack_fnc_getRackBaseClassname
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_radio/fnc_getRadioBaseClassname.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 0: Classname <STRING>
*
* Return Value:
* Is Unique <BOOL>
* Base classname <STRING>
*
* Example:
* ["acre_prc152_id_1"] call acre_sys_radio_fnc_getRadioBaseClassname
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_radio/fnc_onReturnRadioId.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 0: Player <OBJECT>
* 1: Base radio class <STRING>
* 2: Return ID number <NUMBER>
* 3: Replacement number <NUMBER>
* 3: Replacement ID <STRING>
*
* Return Value:
* RETURN VALUE <TYPE>
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_radio/fnc_setRadioOpenState.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* 1: Radio open state <BOOL>
*
* Return Value:
* Can open radio <BOOL>
* None
*
* Example:
* ["acre_prc152_id_1", false] call acre_sys_radio_fnc_setRadioOpenState
Expand Down
Loading