Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
BallisticTable.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
13{
18 static proto float GetAimHeightOfNextProjectile(float distance, out float time, BaseMuzzleComponent muzzleComp, bool bDirectFire = true);
23 static proto float GetHeightFromProjectile(float distance, out float time, IEntity projectile, float initSpeedCoef = 1.0, bool bDirectFire = true);
28 static proto float GetHeightFromProjectileSource(float distance, out float fTimeResult, IEntitySource projectileSource, float initSpeedCoef = 1.0, bool bDirectFire = true);
29 /*
30 Retrieves aim hight and time for given projectile at given distance. This method finds the height compensation for the altitude difference between the shooter and the target.
31 Returns false, if the projectile with used starting conditions couldn't reach the target distance with the set altitude difference.
32 If it gives a non-zero heightResult with returned false, it means that we could reach the altitude but not at that distrance.
33 This method currently only works with projectiles with ShellMoveComponent and have undirect fire ballistic table.
34 !Warning: This method simulates the projectile, so it takes considerable time to run!
35 */
36 static proto bool GetAimHeightOfProjectileAltitudeFromSource(float distance, out float heightResult, out float fTimeResult, IEntitySource projectile, float fAltitudeDifference, float initSpeedCoef = 1.0);
41 static proto float GetDistanceOfProjectile(float angle, out float time, IEntity projectile, float initSpeedCoef = 1.0, bool bDirectFire = true);
46 static proto float GetDistanceOfProjectileSource(float angle, out float fTimeResult, IEntitySource projectileSource, float initSpeedCoef = 1.0, bool bDirectFire = true);
47}
48
float distance