View Single Post
Old 08-16-2003, 06:21 AM   #7 (permalink)
Flyby
Senior Member
 
Join Date: Sep 2001
Posts: 734
Send a message via ICQ to Flyby
Default

smurf,
have a look at the comanche turret code, and how it forces the comanche to turn so it can fire :

Quote:
; this is a bit of a trick... normally, units cannot move-and-fire at
; the same time. we need the comanche to be able to. so we give it
; a "turret" (invisible) and put the two main weapons on it, but with
; no turn rate. voila!
Turret
TurretTurnRate = 0 ; this "turret" does not turn
TurretPitchRate = 0 ; nor does it pitch
ControlledWeaponSlots = PRIMARY SECONDARY
Flyby is offline   Reply With Quote