From f0b7b3432168895f8f2e168e7de23db8abfebb5c Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 14 May 2015 13:00:56 -0500 Subject: [PATCH] Cleanup --- addons/interaction/functions/fnc_addPassengersActions.sqf | 2 +- addons/interaction/functions/fnc_addSelectableItem.sqf | 2 +- addons/interaction/functions/fnc_canBecomeLeader.sqf | 2 +- addons/interaction/functions/fnc_canInteractWithCivilian.sqf | 2 +- addons/interaction/functions/fnc_canJoinGroup.sqf | 2 +- addons/interaction/functions/fnc_canJoinTeam.sqf | 2 +- addons/interaction/functions/fnc_canTapShoulder.sqf | 2 +- addons/interaction/functions/fnc_getDoor.sqf | 2 +- addons/interaction/functions/fnc_getSelectedButton.sqf | 2 +- addons/interaction/functions/fnc_getWeaponPos.sqf | 4 ++-- addons/interaction/functions/fnc_isInRange.sqf | 2 +- addons/interaction/functions/fnc_moveDown.sqf | 2 +- addons/interaction/functions/fnc_prepareSelectMenu.sqf | 4 ++-- addons/interaction/functions/fnc_sortOptionsByPriority.sqf | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) diff --git a/addons/interaction/functions/fnc_addPassengersActions.sqf b/addons/interaction/functions/fnc_addPassengersActions.sqf index b31bc0e56e..7a7d8618d1 100644 --- a/addons/interaction/functions/fnc_addPassengersActions.sqf +++ b/addons/interaction/functions/fnc_addPassengersActions.sqf @@ -11,7 +11,7 @@ * Children actions * * Example: - * _array = [target, player, [params]] call ace_interaction_fnc_addPassengersActions + * [target, player, [params]] call ace_interaction_fnc_addPassengersActions * * Public: No */ diff --git a/addons/interaction/functions/fnc_addSelectableItem.sqf b/addons/interaction/functions/fnc_addSelectableItem.sqf index 4875ba2c97..74a0e9caea 100644 --- a/addons/interaction/functions/fnc_addSelectableItem.sqf +++ b/addons/interaction/functions/fnc_addSelectableItem.sqf @@ -12,7 +12,7 @@ * Container * * Example: - * _array = [_actions, "Banana", "UI\dot_ca.paa", "bananaContents"] call ace_interaction_fnc_addSelectableItem + * [actions, "Banana", "UI\dot_ca.paa", "bananaContents"] call ace_interaction_fnc_addSelectableItem * * Public: No */ diff --git a/addons/interaction/functions/fnc_canBecomeLeader.sqf b/addons/interaction/functions/fnc_canBecomeLeader.sqf index c79f879525..1821e41506 100644 --- a/addons/interaction/functions/fnc_canBecomeLeader.sqf +++ b/addons/interaction/functions/fnc_canBecomeLeader.sqf @@ -10,7 +10,7 @@ * Able to become leader of group * * Example: - * _bool = [player, player] call ace_interaction_fnc_canBecomeLeader + * [player, player] call ace_interaction_fnc_canBecomeLeader * * Public: No */ diff --git a/addons/interaction/functions/fnc_canInteractWithCivilian.sqf b/addons/interaction/functions/fnc_canInteractWithCivilian.sqf index c89f4c9868..c20ac61f94 100644 --- a/addons/interaction/functions/fnc_canInteractWithCivilian.sqf +++ b/addons/interaction/functions/fnc_canInteractWithCivilian.sqf @@ -9,7 +9,7 @@ * Able to interact with civilian * * Example: - * _bool = [target] call ace_interaction_fnc_canInteractWithCivilian + * [target] call ace_interaction_fnc_canInteractWithCivilian * * Public: No */ diff --git a/addons/interaction/functions/fnc_canJoinGroup.sqf b/addons/interaction/functions/fnc_canJoinGroup.sqf index 33b4623c4c..315da658db 100644 --- a/addons/interaction/functions/fnc_canJoinGroup.sqf +++ b/addons/interaction/functions/fnc_canJoinGroup.sqf @@ -10,7 +10,7 @@ * Able to join a group * * Example: - * _bool = [player, target] call ace_interaction_fnc_canJoinGroup + * [player, target] call ace_interaction_fnc_canJoinGroup * * Public: No */ diff --git a/addons/interaction/functions/fnc_canJoinTeam.sqf b/addons/interaction/functions/fnc_canJoinTeam.sqf index ba894c7a13..b91a5abd5c 100644 --- a/addons/interaction/functions/fnc_canJoinTeam.sqf +++ b/addons/interaction/functions/fnc_canJoinTeam.sqf @@ -10,7 +10,7 @@ * Able to join a team * * Example: - * _bool = [player, target] call ace_interaction_fnc_canJoinTeam + * [player, target] call ace_interaction_fnc_canJoinTeam * * Public: No */ diff --git a/addons/interaction/functions/fnc_canTapShoulder.sqf b/addons/interaction/functions/fnc_canTapShoulder.sqf index 1b48d3280d..bbeee51b4a 100644 --- a/addons/interaction/functions/fnc_canTapShoulder.sqf +++ b/addons/interaction/functions/fnc_canTapShoulder.sqf @@ -10,7 +10,7 @@ * Able to tap a shoulder * * Example: - * _bool = [player, target] call ace_interaction_fnc_canTapShoulder + * [player, target] call ace_interaction_fnc_canTapShoulder * * Public: No */ diff --git a/addons/interaction/functions/fnc_getDoor.sqf b/addons/interaction/functions/fnc_getDoor.sqf index fdf1447828..a085c9a3b8 100644 --- a/addons/interaction/functions/fnc_getDoor.sqf +++ b/addons/interaction/functions/fnc_getDoor.sqf @@ -11,7 +11,7 @@ * 1: Door Name * * Example: - * _array = [player, target] call ace_interaction_fnc_getDoor + * [player, target] call ace_interaction_fnc_getDoor * * Public: No */ diff --git a/addons/interaction/functions/fnc_getSelectedButton.sqf b/addons/interaction/functions/fnc_getSelectedButton.sqf index 52ba3d67e0..92768b67f7 100644 --- a/addons/interaction/functions/fnc_getSelectedButton.sqf +++ b/addons/interaction/functions/fnc_getSelectedButton.sqf @@ -9,7 +9,7 @@ * Angle * * Example: - * _number = call ace_interaction_fnc_getSelectedButton + * call ace_interaction_fnc_getSelectedButton * * Public: No */ diff --git a/addons/interaction/functions/fnc_getWeaponPos.sqf b/addons/interaction/functions/fnc_getWeaponPos.sqf index 1e3c8b32ec..58c8756076 100644 --- a/addons/interaction/functions/fnc_getWeaponPos.sqf +++ b/addons/interaction/functions/fnc_getWeaponPos.sqf @@ -3,13 +3,13 @@ * Return a suitable position for the action point for the current weapon * * Arguments: - * None + * None (uses local variable _target) * * Return value: * Children actions * * Example: - * _array = call ace_interaction_fnc_getWeaponPos + * call ace_interaction_fnc_getWeaponPos * * Public: No */ diff --git a/addons/interaction/functions/fnc_isInRange.sqf b/addons/interaction/functions/fnc_isInRange.sqf index 490ddf05e5..49ac391871 100644 --- a/addons/interaction/functions/fnc_isInRange.sqf +++ b/addons/interaction/functions/fnc_isInRange.sqf @@ -10,7 +10,7 @@ * Vehicle in range of player * * Example: - * _bool = [target, 5] call ace_interaction_fnc_isInRange + * [target, 5] call ace_interaction_fnc_isInRange * * Public: No */ diff --git a/addons/interaction/functions/fnc_moveDown.sqf b/addons/interaction/functions/fnc_moveDown.sqf index a585e91684..235f12fb1f 100644 --- a/addons/interaction/functions/fnc_moveDown.sqf +++ b/addons/interaction/functions/fnc_moveDown.sqf @@ -15,7 +15,7 @@ */ #include "script_component.hpp" -private ["_count", "_player", "_vehicle", "_dlgInteractionDialog", "_top", "_i", "", "_ctrl", "_index", "_action", "_color", "_current", "_infoText", "target"]; +private ["_count", "_player", "_vehicle", "_dlgInteractionDialog", "_top", "_i", "", "_ctrl", "_index", "_action", "_color", "_current", "_infoText", "_target"]; #define CLAMP(x,low,high) (if(x > high)then{high}else{if(x < low)then{low}else{x}}) if (isNil QGVAR(MainButton)) exitWith{}; diff --git a/addons/interaction/functions/fnc_prepareSelectMenu.sqf b/addons/interaction/functions/fnc_prepareSelectMenu.sqf index 05b1bc8e35..07bef07b37 100644 --- a/addons/interaction/functions/fnc_prepareSelectMenu.sqf +++ b/addons/interaction/functions/fnc_prepareSelectMenu.sqf @@ -7,10 +7,10 @@ * 1: Approve Button Text * * Return value: - * Container object + * Container object * * Example: - * _array = ["Select Explosive", "Place"] call ace_interaction_fnc_prepareSelectMenu + * array = ["Select Explosive", "Place"] call ace_interaction_fnc_prepareSelectMenu * * Public: No */ diff --git a/addons/interaction/functions/fnc_sortOptionsByPriority.sqf b/addons/interaction/functions/fnc_sortOptionsByPriority.sqf index ce4c714d79..05a4f3bad4 100644 --- a/addons/interaction/functions/fnc_sortOptionsByPriority.sqf +++ b/addons/interaction/functions/fnc_sortOptionsByPriority.sqf @@ -9,7 +9,7 @@ * None * * Example: - * _customActions call ace_interaction_fnc_sortOptionsByPriority + * customActions call ace_interaction_fnc_sortOptionsByPriority * * Public: No */