Cleanup function params and headers

Cleanup function params and headers

Removed unecessary param
This commit is contained in:
BaerMitUmlaut 2015-12-14 21:50:56 +01:00
parent 8cfbbe4f1f
commit 8f49715ae6
13 changed files with 16 additions and 18 deletions

View File

@ -61,7 +61,7 @@ class CfgVehicles {
class ACE_prepareFRIES {
displayName = CSTRING(Interaction_prepareFRIES);
condition = [vehicle _player] call FUNC(canPrepareFRIES);
statement = [_player, vehicle _player] call FUNC(prepareFRIES);
statement = [vehicle _player] call FUNC(prepareFRIES);
showDisabled = 0;
priority = 1;
};

View File

@ -9,7 +9,7 @@
* Able to cut ropes <BOOL>
*
* Example:
* [_vehicle] call ace_fastroping_canCutRopes
* [_vehicle] call ace_fastroping_fnc_canCutRopes
*
* Public: No
*/

View File

@ -10,7 +10,7 @@
* Able to deploy ropes <BOOL>
*
* Example:
* [_player, _vehicle] call ace_fastroping_canDeployRopes
* [_player, _vehicle] call ace_fastroping_fnc_canDeployRopes
*
* Public: No
*/

View File

@ -10,7 +10,7 @@
* Able to fast ropes <BOOL>
*
* Example:
* [_player, _vehicle] call ace_fastroping_canDeployRopes
* [_player, _vehicle] call ace_fastroping_fnc_canDeployRopes
*
* Public: No
*/

View File

@ -9,7 +9,7 @@
* Able to prepare FRIES <BOOL>
*
* Example:
* [_vehicle] call ace_fastroping_canPrepareFRIES
* [_vehicle] call ace_fastroping_fnc_canPrepareFRIES
*
* Public: No
*/

View File

@ -9,7 +9,7 @@
* None
*
* Example:
* [_vehicle] call ace_fastroping_cutRopes
* [_vehicle] call ace_fastroping_fnc_cutRopes
*
* Public: No
*/

View File

@ -9,7 +9,7 @@
* None
*
* Example:
* [_vehicle] call ace_fastroping_deployRopes
* [_vehicle] call ace_fastroping_fnc_deployRopes
*
* Public: No
*/

View File

@ -10,7 +10,7 @@
* None
*
* Example:
* [_player, _vehicle] call ace_fastroping_fastRope
* [_player, _vehicle] call ace_fastroping_fnc_fastRope
*
* Public: No
*/

View File

@ -10,7 +10,7 @@
* None
*
* Example:
* [[_unit, _vehicle, _rope, _ropeIndex], 0] call ace_fastroping_fastRopePFH
* [[_unit, _vehicle, _rope, _ropeIndex], 0] call ace_fastroping_fnc_fastRopePFH
*
* Public: No
*/

View File

@ -4,14 +4,12 @@
*
* Arguments:
* 0: Module <LOGIC>
* 1: Units <ARRAY>
* 2: Activated <BOOL>
*
* Return Value:
* None
*
* Example:
* [_vehicle] call ace_fastroping_cutRopes
* [_vehicle] call ace_fastroping_fnc_cutRopes
*
* Public: No
*/

View File

@ -6,10 +6,10 @@
* 0: Helicopter <OBJECT>
*
* Return Value:
* Amount of time to wait before cutting ropes.
* Amount of time to wait before cutting ropes <NUMBER>
*
* Example:
* [_vehicle] call ace_fastroping_onCutRopesCommon
* [_vehicle] call ace_fastroping_fnc_onCutRopesCommon
*
* Public: No
*/

View File

@ -6,10 +6,10 @@
* 0: Helicopter <OBJECT>
*
* Return Value:
* Amount of time to wait before deploying ropes.
* Amount of time to wait before deploying ropes <NUMBER>
*
* Example:
* [_vehicle] call ace_fastroping_onDeployRopesCommon
* [_vehicle] call ace_fastroping_fnc_onDeployRopesCommon
*
* Public: No
*/

View File

@ -9,13 +9,13 @@
* None
*
* Example:
* [_unit, _vehicle] call ace_fastroping_prepareFRIES
* [_vehicle] call ace_fastroping_fnc_prepareFRIES
*
* Public: No
*/
#include "script_component.hpp"
params ["_unit", "_vehicle"];
params ["_vehicle"];
private ["_config", "_waitTime"];
//Stage indicator: 0 - travel mode; 1 - preparing FRIES; 2 - FRIES ready; 3 - ropes deployed