Killzone_Kid
To avoid wrong ETA readings, position of the target should only be obtained via position or getPos
Results appear below as you type; use the arrow keys to move through them.
Returns ETA to the target in seconds for given artillery unit based on target position and used magazine, -1 if target can't be hit.
unit getArtilleryETA [targetPosition, magazineType]
Parameters:
unit: Object - artillery unittargetPosition: PositionAGLS - position of the targetmagazineType: String - type of magazine usedReturns: Number
_mortar getArtilleryETA [getPos _target, getArtilleryAmmo [_mortar] select 0];
_mortar getArtilleryETA [position _target, currentMagazine _mortar];
getArtilleryAmmo · commandArtilleryFire · doArtilleryFire · enableEngineArtillery · getArtilleryComputerSettings · shownArtilleryComputer · inRangeOfArtillery
To avoid wrong ETA readings, position of the target should only be obtained via position or getPos