setXvar
Function
This sets the pitch angle variance of the projectile when launched.
Syntax
|
$<launcher_name> setXvar <±pitch_angle>
|
Notes & examples
|
The pitch angle variance is the amount of possible angle variation from the nominal pitch angle value set by the last setXdir command. The actual amount of variance is applied on a random basis. Here's a practical example of how angle variance works:
Let's say you set the angle at 45 and the angle variance at 10. This means that the resulting trajectory angle of the launched projectiles can be anywhere from 35 (45 - 10) to 55 (45 + 10). Since the angle can vary at random from one launch to the next, this sets an innacuracy factor into the launcher. The higher the angle variance, the less accurate the launcher will be.
|
|