Quote:
Originally Posted by Jeff-Groves
Maybe the torpedos on suface Ships are looking for the
wpn_SubTorpedoSys Controller?
The AI Subs have that.
|
If they were, they would have found one on my test ship
Quote:
Originally Posted by gap
No, Ship:Random is one of those commands whose arguments are pretty obvious. I mean the parameter of commands like Ship:ShipWaitAction, or the second parameter of Ship:TurnToHeading. They seem to always be in the range 0-1
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?
|
Some of these commands are luckily explained in comments to Ship.aix file. For example, for ShipWaitAction:
# void ShipWaitAction(fMinutes) -- action -- ship waits for given time [minutes]
Unfortunately there are a lot of commands that are not explained anywhere, Strafe being one of them (that's why I asked for meaning of the same numbers earlier in this thread). For those commands I'm afraid we can only find what parameters mean by testing different values and noting what happens.
Edit: ninja'ed