Skip to content

Commit d22a067

Browse files
General - Various header fixes (#11145)
* General - Various header fixes * more headers * style * more * ret * fix more return values * Revert "fix more return values" This reverts commit f9d0567. * Apply suggestions from code review Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * 7 headers * Update fnc_canPlaceInBodyBag.sqf * <X><Y> -> <X or Y> * Apply suggestions from code review Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * cached/erase namespace * Update fnc_toBitmask.sqf * Apply suggestion from @johnb432 Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * fix for doc funcs * Update addons/vehicle_damage/functions/fnc_handleDamage.sqf Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> --------- Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
1 parent b1ff85e commit d22a067

File tree

122 files changed

+175
-163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+175
-163
lines changed

addons/advanced_throwing/functions/fnc_drawArc.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* None
88
*
99
* Return Value:
10-
* Flight path (just for debug) <ARRAY>
10+
* Flight path (just for debug) <ARRAY or NIL>
1111
*
1212
* Example:
1313
* call ace_advanced_throwing_fnc_drawArc

addons/artillerytables/functions/fnc_interactMenuOpened.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* 0: Menu Type (1 is self interaction) <NUMBER>
88
*
99
* Return Value:
10-
* Can Open <BOOL>
10+
* None
1111
*
1212
* Example:
1313
* [1] call ace_artillerytables_fnc_interactMenuOpened

addons/attach/functions/fnc_canAttach.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Arguments:
77
* 0: vehicle that it will be attached to (player or vehicle) <OBJECT>
88
* 1: unit doing the attach (player) <OBJECT>
9-
* 2: Array empty or containing a string of the attachable item <ARRAY>
9+
* 2: Array empty or containing a string of the attachable item <STRING or ARRAY of STRING>
1010
*
1111
* Return Value:
1212
* Can Attach <BOOL>

addons/attach/functions/fnc_placeApprove.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* 3: Light Vehicle Classname <STRING>
1616
* 4: On Attach Text <STRING>
1717
* 5: Starting Pos of dummy item <ARRAY>
18-
* 5: Orientation of model <ARRAY>
18+
* 6: Orientation of model <ARRAY>
1919
*
2020
* Return Value:
2121
* None

addons/backpacks/functions/fnc_backpackOpened.sqf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@
55
*
66
* Arguments:
77
* 0: Who accessed your inventory? <OBJECT>
8-
* 1: Unit that wields the backpack <OBJECT>
9-
* 2: The backpack object <OBJECT>
8+
* 1: The backpack object <OBJECT>
109
*
1110
* Return Value:
1211
* None
1312
*
1413
* Example:
15-
* [bob, kevin, backpack] call ace_backpacks_fnc_backpackOpened
14+
* [bob, backpack] call ace_backpacks_fnc_backpackOpened
1615
*
1716
* Public: No
1817
*/

addons/captives/functions/fnc_doApplyHandcuffs.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* 1: target <OBJECT>
99
*
1010
* Return Value:
11-
* The return value <BOOL>
11+
* None
1212
*
1313
* Example:
1414
* [player, bob] call ACE_captives_fnc_doApplyHandcuffs;

addons/captives/functions/fnc_doRemoveHandcuffs.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* 1: Target <OBJECT>
99
*
1010
* Return Value:
11-
* The return value <BOOL>
11+
* None
1212
*
1313
* Example:
1414
* [bob, bill] call ACE_captives_fnc_doRemoveHandcuffs

addons/captives/functions/fnc_handleGetIn.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* 2: _unit <OBJECT>
1010
*
1111
* Return Value:
12-
* The return value <BOOL>
12+
* None
1313
*
1414
* Example:
1515
* [car2, x, player] call ACE_captives_fnc_handleGetIn

addons/captives/functions/fnc_handleGetOut.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* 2: _unit <OBJECT>
1010
*
1111
* Return Value:
12-
* The return value <BOOL>
12+
* None
1313
*
1414
* Example:
1515
* [car2, x, player] call ACE_captives_fnc_handleGetOut

addons/captives/functions/fnc_handleOnUnconscious.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Arguments:
77
* 0: Unit <OBJECT>
8-
* 0: Is Unconsisisiouses <BOOL>
8+
* 1: Is Unconscious <BOOL>
99
*
1010
* Return Value:
1111
* None

0 commit comments

Comments
 (0)