Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 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/advanced_throwing/functions/fnc_drawArc.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* None
*
* Return Value:
* Flight path (just for debug) <ARRAY>
* Flight path (just for debug) <ARRAY><NIL>
*
* Example:
* call ace_advanced_throwing_fnc_drawArc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 0: Menu Type (1 is self interaction) <NUMBER>
*
* Return Value:
* Can Open <BOOL>
* None
*
* Example:
* [1] call ace_artillerytables_fnc_interactMenuOpened
Expand Down
2 changes: 1 addition & 1 deletion addons/attach/functions/fnc_canAttach.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Arguments:
* 0: vehicle that it will be attached to (player or vehicle) <OBJECT>
* 1: unit doing the attach (player) <OBJECT>
* 2: Array empty or containing a string of the attachable item <ARRAY>
* 2: Array empty or containing a string of the attachable item <ARRAY><STRING>
*
* Return Value:
* Can Attach <BOOL>
Expand Down
2 changes: 1 addition & 1 deletion addons/attach/functions/fnc_placeApprove.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* 3: Light Vehicle Classname <STRING>
* 4: On Attach Text <STRING>
* 5: Starting Pos of dummy item <ARRAY>
* 5: Orientation of model <ARRAY>
* 6: Orientation of model <ARRAY>
*
* Return Value:
* None
Expand Down
5 changes: 2 additions & 3 deletions addons/backpacks/functions/fnc_backpackOpened.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
*
* Arguments:
* 0: Who accessed your inventory? <OBJECT>
* 1: Unit that wields the backpack <OBJECT>
* 2: The backpack object <OBJECT>
* 1: The backpack object <OBJECT>
*
* Return Value:
* None
*
* Example:
* [bob, kevin, backpack] call ace_backpacks_fnc_backpackOpened
* [bob, backpack] call ace_backpacks_fnc_backpackOpened
*
* Public: No
*/
Expand Down
2 changes: 1 addition & 1 deletion addons/captives/functions/fnc_doApplyHandcuffs.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* 1: target <OBJECT>
*
* Return Value:
* The return value <BOOL>
* None
*
* Example:
* [player, bob] call ACE_captives_fnc_doApplyHandcuffs;
Expand Down
2 changes: 1 addition & 1 deletion addons/captives/functions/fnc_doRemoveHandcuffs.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* 1: Target <OBJECT>
*
* Return Value:
* The return value <BOOL>
* None
*
* Example:
* [bob, bill] call ACE_captives_fnc_doRemoveHandcuffs
Expand Down
2 changes: 1 addition & 1 deletion addons/captives/functions/fnc_handleGetIn.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* 2: _unit <OBJECT>
*
* Return Value:
* The return value <BOOL>
* None
*
* Example:
* [car2, x, player] call ACE_captives_fnc_handleGetIn
Expand Down
2 changes: 1 addition & 1 deletion addons/captives/functions/fnc_handleGetOut.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* 2: _unit <OBJECT>
*
* Return Value:
* The return value <BOOL>
* None
*
* Example:
* [car2, x, player] call ACE_captives_fnc_handleGetOut
Expand Down
2 changes: 1 addition & 1 deletion addons/captives/functions/fnc_handleOnUnconscious.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Arguments:
* 0: Unit <OBJECT>
* 0: Is Unconsisisiouses <BOOL>
* 1: Is Unconscious <BOOL>
*
* Return Value:
* None
Expand Down
2 changes: 1 addition & 1 deletion addons/captives/functions/fnc_handlePlayerChanged.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* 1: _oldUnit <OBJECT>
*
* Return Value:
* The return value <BOOL>
* None
*
* Example:
* [bob1, bob2] call ACE_captives_fnc_handlePlayerChanged
Expand Down
2 changes: 1 addition & 1 deletion addons/captives/functions/fnc_handleUnitInitPost.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 0: _unit <OBJECT>
*
* Return Value:
* The return value <BOOL>
* None
*
* Example:
* [bob] call ACE_captives_fnc_handleUnitInitPost
Expand Down
2 changes: 1 addition & 1 deletion addons/captives/functions/fnc_setHandcuffed.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Arguments:
* 0: Unit <OBJECT>
* 1: True to take captive, false to release captive <BOOL>
* 2: Caller <OBJECT>
* 2: Caller <OBJECT> (default: objNull)
*
* Return Value:
* None
Expand Down
2 changes: 1 addition & 1 deletion addons/cargo/functions/fnc_getSelectedItem.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* None
*
* Return Value:
* Classname of selected item or selected object <STRING or OBJECT> (default: nil)
* Classname of selected item or selected object <STRING><OBJECT><NIL> (default: nil)
*
* Example:
* call ace_cargo_fnc_getSelectedItem
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_ASLToPosition.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* 2: position z <NUMBER>
*
* Return Value:
* None
* <ARRAY>
*
* Example:
* [1, 2, 3] call ace_common_fnc_ASLToPosition
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_assignObjectsInList.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Used by moduleAssign* within various parts of the ACE3 project.
*
* Arguments:
* 0: List <STRING>
* 0: List <STRING><ARRAY>
* 1: Variable Name <STRING>
* 2: Value <ANY>
* 3: Global <BOOL>
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_blurScreen.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Blurs screen.
*
* Arguments:
* 0: ID <NUMBER>
* 0: ID <NUMBER or STRING>
* 1: Show? <BOOL or NUMBER>
*
* Return Value:
Expand Down
4 changes: 2 additions & 2 deletions addons/common/functions/fnc_cachedCall.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* Returns the result of the function and caches it up to a given time or event
*
* Arguments:
* 0: Parameters <ARRAY>
* 0: Parameters <ANY>
* 1: Function <CODE>
* 2: Namespace to store the cache on <NAMESPACE>
* 2: Namespace to store the cache on <NAMESPACE><OBJECT>
* 3: Cache uid <STRING>
* 4: Max duration of the cache <NUMBER>
* 5: Events that clear the cache <STRING or ARRAY of STRINGs> (default: nil)
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_eraseCache.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Deletes a cached result
*
* Arguments:
* 0: Namespace to store the cache on <NAMESPACE>
* 0: Namespace to store the cache on <NAMESPACE><OBJECT><LOCATION>
* 1: Cache uid <STRING>
*
* Return Value:
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_errorMessage.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Arguments:
* 0: Header <STRING>
* 1: Text <STRING or TEXT>
* 1: Text <STRING or STRUCTUREDTEXT>
*
* Return Value:
* None
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_getItemReplacements.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* 1: Include type replacements for items <BOOL> (default: true)
*
* Return Value:
* Item replacements <ARRAY of STRINGs> if replacements exist, nil if not
* Item replacements <ARRAY of STRINGs> if replacements exist, <NIL> if not
*
* Example:
* ["FirstAidKit", false] call ace_common_fnc_getItemReplacements
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_getVehicleCodriver.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Get the vehicle codriver positions.
*
* Arguments:
* 0: Vehicle type <STRING>
* 0: Vehicle <OBJECT>
*
* Return Value:
* Vehicle codriver positions <ARRAY>
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_isPlayer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Arguments:
* 0: unit to be checked <OBJECT>
* 1: exclude remote controlled units <BOOL>
* 1: exclude remote controlled units <BOOL> (default: false)
*
* Return Value:
* Is unit a player? <BOOL>
Expand Down
4 changes: 2 additions & 2 deletions addons/common/functions/fnc_loadPerson.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* 0: Unit that will load <OBJECT>
* 1: Unit to be loaded <OBJECT>
* 2: Vehicle that the unit will be loaded in <OBJECT> (default: objNull)
* 3: Preferred seats <ARRAY>
* 4: Reverse fill <BOOL>
* 3: Preferred seats <ARRAY> (default: [])
* 4: Reverse fill <BOOL> (default: false)
*
* Return Value:
* Vehicle that the unitToBeloaded has been loaded in. Returns objNull if function failed <OBJECT>
Expand Down
4 changes: 2 additions & 2 deletions addons/common/functions/fnc_normalRandom.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* Uses Box-Muller transform to approximate distribution
*
* Arguments:
* 0: Mean <NUMBER> or <ARRAY>
* 1: Standard Deviation <NUMBER> or <ARRAY>
* 0: Mean <NUMBER or ARRAY>
* 1: Standard Deviation <NUMBER or ARRAY>
*
* Return Value:
* Pair of random numbers according to normal distribution <ARRAY>
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_positionToASL.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* 2: Position z <NUMBER>
*
* Return Value:
* None
* PosASL <ARRAY>
*
* Example:
* [1, 1, 1] call ace_common_fnc_positionToASL
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_rscObjectHelper.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Arguments:
* 0: Function <STRING>
* 1: Input array <CODE>
* 1: Input array <ARRAY>
* 2: Scale <NUMBER> (default: 1)
*
* Return Value:
Expand Down
4 changes: 2 additions & 2 deletions addons/common/functions/fnc_sendRequest.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
* 1: target <OBJECT>
* 2: requestID <STRING>
* 3: requestMessage Will be localized for other target object. <STRING>
* 4: callback Code called upon accept or decline. <CODE>
* 4: callback Code called upon accept or decline. <STRING>
*
* Return Value:
* None
*
* Example:
* [bob, kevin, "ID", "Message", {callback}] call ace_common_fnc_sendRequest
* [bob, kevin, "ID", "Message", "call code"] call ace_common_fnc_sendRequest
*
* Public: Yes
*/
Expand Down
6 changes: 3 additions & 3 deletions addons/common/functions/fnc_setDead.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
* Kills a unit without changing visual appearance.
*
* Arguments:
* 0: Unit <ARRAY>
* 0: Unit <OBJECT>
* 1: Reason for death (only used if ace_medical is loaded) <STRING> (default: "")
* 2: Killer (vehicle that killed unit) <ARRAY> (default: objNull)
* 3: Instigator (unit who pulled trigger) <ARRAY> (default: objNull)
* 2: Killer (vehicle that killed unit) <OBJECT> (default: objNull)
* 3: Instigator (unit who pulled trigger) <OBJECT> (default: objNull)
*
* Return Value:
* None
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_statusEffect_addType.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 0: Status Effect Name, this should match a corresponding event name <STRING>
* 1: Send event globally <BOOL>
* 2: Common Effect Reasons to pre-seed during init <ARRAY>
* 3: Send event to JIP (requires sending event globally) <BOOL>
* 3: Send event to JIP (requires sending event globally) <BOOL> (default: false)
* 4: Event name <STRING> (default: "ace_common_<effect>")
*
* Return Value:
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_stringToColoredText.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* 1: Color <ARRAY or STRING>
*
* Return Value:
* Text <STRING>
* Text <STRUCTUREDTEXT>
*
* Example:
* ["text", [0, 1, 2]] call ace_common_fnc_stringToColoredText
Expand Down
6 changes: 3 additions & 3 deletions addons/common/functions/fnc_toBitmask.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* Convert an array of booleans into a number.
*
* Arguments:
* 0: Boolean <BOOL>
* 1: Boolean <BOOL>
* 2: Boolean <BOOL>
* 0: Boolean <BOOL> (default: false)
* 1: Boolean <BOOL> (default: false)
* 2: Boolean <BOOL> (default: false)
* ...
*
* Return Value:
Expand Down
4 changes: 2 additions & 2 deletions addons/common/functions/fnc_uniqueItems.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
*
* Arguments:
* 0: Target <OBJECT>
* 1: Include magazines <NUMBER>
* 0: No (default)
* 1: Include magazines <NUMBER> (default: 0)
* 0: No
* 1: Yes
* 2: Only magazines
*
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_updatePlayerVehAttenuation.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* None
*
* Return Value:
* Amount that unit can hear outside <NUMBER>
* None
*
* Example:
* call ace_common_fnc_updatePlayerVehAttenuation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Arguments:
* 0: Static Weapon <OBJECT>
* 1: Check for ACE CSW <STRING> (default: false)
* 1: Check for ACE CSW <BOOL> (default: false)
*
* Return Value:
* If the player can alter the static weapon's height <BOOL>
Expand Down
2 changes: 1 addition & 1 deletion addons/cookoff/functions/fnc_handleDamageBox.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* HandleDamage EH <ARRAY>
*
* Return Value:
* Damage to be inflicted (can be nil) <NUMBER>
* Damage to be inflicted (can be nil) <NUMBER><NIL>
*
* Example:
* _this call ace_cookoff_fnc_handleDamageBox
Expand Down
2 changes: 1 addition & 1 deletion addons/csw/functions/fnc_proxyWeapon.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 0: CSW <OBJECT>
* 1: Turret <ARRAY>
* 2: Proxy weapon needed <BOOL>
* 2: Weapon should be emptied <BOOL>
* 3: Weapon should be emptied <BOOL>
*
* Return Value:
* None
Expand Down
3 changes: 2 additions & 1 deletion addons/dagr/functions/fnc_programWP.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
* API to program Waypoints into the DAGR
*
* Arguments:
* 0: Position (2D,3D) <NUMBER>
* 0: Position (2D,3D) <ARRAY>
* 1: Waypoint Name <STRING>
* 2: Index (Optional) <NUMBER>
*
* Return Value:
* None
*
Expand Down
2 changes: 1 addition & 1 deletion addons/dogtags/functions/fnc_showDogtag.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Arguments:
* 0: Dog tag data <ARRAY>
* 1: Display as double tag <BOOL>
* 1: Display as double tag <BOOL> (default: false)
*
* Return Value:
* None
Expand Down
2 changes: 1 addition & 1 deletion addons/dragon/functions/fnc_sightAttach.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* 2: Is event (function recursives globaly to set weapon where turret is local) <BOOL> (default: false)
*
* Return Value:
* Can Attach Sighting Unit <BOOL>
* None
*
* Example:
* [cursorObject, player] call ace_dragon_fnc_sightAttach
Expand Down
Loading
Loading