getArtilleryETA: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.56|= Game version ____________________...") |
(Syntax was wrong for current version of command.) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''getArtilleryETA''' [ | | unit '''getArtilleryETA''' [position targetObject, magazineType] |= Syntax | ||
|p1= | |p1= unit: [[Object]] |= Parameter 1 | ||
|p2= | |p2= position targetObject: [[Position]] |= Parameter 2 | ||
|p3 | |p3= magazineType: [[String]] |= Parameter 3 | ||
| [[Number]] |= RETURNVALUE | | [[Number]] |= RETURNVALUE | ||
|x1= <code></code>|= EXAMPLE1 | |x1= <code>_mortar getArtilleryETA [getPos _target, (getArtilleryAmmo [_mortar] select 0)]; </code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 21:20, 25 August 2013
Description
- Description:
- Returns ETA in seconds for given artillery unit, it's magazineType and target position.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit getArtilleryETA [position targetObject, magazineType]
- Parameters:
- unit: Object
- position targetObject: Position
- magazineType: String
- Return Value:
- Number
Examples
- Example 1:
_mortar getArtilleryETA [getPos _target, (getArtilleryAmmo [_mortar] select 0)];
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note