Arguments, Return Value, (optional)
This commit is contained in:
Githawk
2016-06-06 20:42:20 +02:00
parent ef4e232664
commit 9cfa2f11d9
180 changed files with 291 additions and 292 deletions

View File

@ -2,12 +2,12 @@
* Author: GitHawk
* Adds magazines to the supply.
*
* Argument:
* Arguments:
* 0: Ammo Truck <OBJECT>
* 1: Magazine Classname <STRING>
* 2: Only partial <BOOL><OPTIONAL>
* 2: Only partial <BOOL>(optional)
*
* Return value:
* Return Value:
* None
*
* Example:

View File

@ -2,10 +2,10 @@
* Author: GitHawk
* Show the resupplyable ammunition of all surrounding vehicles.
*
* Argument:
* Arguments:
* 0: Target <OBJECT>
*
* Return value:
* Return Value:
* ChildActions <ARRAY>
*
* Example:

View File

@ -2,14 +2,14 @@
* Author: GitHawk
* Adds all magazines of a vehicle to the supply.
*
* Argument:
* Arguments:
* 0: Ammo Truck <OBJECT>
* 1: Vehicle <OBJECT>
* or
* 0: Ammo Truck <OBJECT>
* 1: Vehicle class <STRING>
*
* Return value:
* Return Value:
* None
*
* Example:

View File

@ -4,7 +4,7 @@
*
* Arguments:
* 0: Vehicle <OBJECT>
* 1: Disable <BOOL><OPTIONAL>
* 1: Disable <BOOL>(optional)
*
* Return Value:
* None

View File

@ -4,8 +4,8 @@
*
* Arguments:
* 0: Unit <OBJECT>
* 1: Delete dummy object <BOOL><OPTIONAL>
* 2: Unholster Weapon <BOOL><OPTIONAL>
* 1: Delete dummy object <BOOL>(optional)
* 2: Unholster Weapon <BOOL>(optional)
*
* Return Value:
* None

View File

@ -2,10 +2,10 @@
* Author: GitHawk
* Get the caliber of the ammo in a magazine and return its parameters.
*
* Argument:
* Arguments:
* 0: Magazine Classname <STRING>
*
* Return value:
* Return Value:
* 0: Caliber information <ARRAY>
* 0: Rounded caliber <NUMBER>
* 1: Caliber index <NUMBER>

View File

@ -2,10 +2,10 @@
* Author: GitHawk
* Get the supply count.
*
* Argument:
* Arguments:
* 0: Ammo Truck <OBJECT>
*
* Return value:
* Return Value:
* Supply count <NUMBER>
*
* Example:

View File

@ -2,11 +2,11 @@
* Author: GitHawk
* Check whether enough supply is left to take the magazine.
*
* Argument:
* Arguments:
* 0: Ammo Truck <OBJECT>
* 1: Magazine Classname <STRING>
*
* Return value:
* Return Value:
* Enough supply <BOOL>
*
* Example:

View File

@ -2,11 +2,11 @@
* Author: GitHawk
* Returns true if the magazine is in the current supply
*
* Argument:
* Arguments:
* 0: Ammo Truck <OBJECT>
* 1: Magazine Classname <STRING>
*
* Return value:
* Return Value:
* Magazine in supply <BOOL>
*
* Example:
@ -38,5 +38,5 @@ if (GVAR(supply) == 2) exitWith {
_magazinePresent
};
// With infinite supply, the is always one left
// With infinite supply, there is always one left
true

View File

@ -2,12 +2,12 @@
* Author: GitHawk
* Removes a magazine from the supply.
*
* Argument:
* Arguments:
* 0: Ammo Truck <OBJECT>
* 1: Magazine Classname <STRING>
* 2: Number of Rounds to withdraw <NUMBER><OPTIONAL>
* 2: Number of Rounds to withdraw <NUMBER>(optional)
*
* Return value:
* Return Value:
* Magazine was removed <BOOL>
*
* Example:

View File

@ -2,11 +2,11 @@
* Author: GitHawk
* Sets the supply count.
*
* Argument:
* Arguments:
* 0: Ammo Truck <OBJECT>
* 1: Supply Count <NUMBER>
*
* Return value:
* Return Value:
* None
*
* Example: