View Single Post
Old 02-26-23, 09:07 AM   #141
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 873
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by gap View Post
Else, Plane:Strafe is another of those commands that accept a numeric parameter, but all the instances I found of it go from -20 to 100. Could that be an angle relative to current aircraft heading?
A little late but I finally deciphered what the argument of Strafe function means today. It's altitude. Plane will attempt a strafing run keeping close to specified altitude.

At low or negative values this parameter doesn't seem to make any difference, probably because it is overridden by need to avoid impact with water.

Edit: Another complication I see in my testing is that if a plane has fixed machine guns, it will attempt to aim at target leading it to not keep ordered altitude. This might be connected with fighter planes crashing into sea way more often than heavier bombers.

Last edited by kapuhy; 02-26-23 at 04:14 PM.
kapuhy is offline   Reply With Quote