OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: sidbracho on 29 Mar 2003, 04:14:14

Title: turrets orientation
Post by: sidbracho on 29 Mar 2003, 04:14:14
I'm not sure if this is the right forum, but how do you set a tank or vehicle etc. so that it's turret is facing backwards at the start.
One of the original multiplayer scenarios starts out this way, if anybody can help it would be appreciated.
Title: Re:turrets orientation
Post by: Rubble_Maker on 29 Mar 2003, 21:02:01
Try putting a small object somewhere ("pipebomb","barrel1", etc, maybe "logic" works too), then use

_tank reveal _object
_tank doTarget _object

or, if  that doesn't work, use the same code with (gunner _tank) or (commander _tank); either one should work.