celery 8 Posted March 7, 2007 How do you set the vector of a vehicle's guns and turrets? I've made a script that shortly places a soldier in a gun position and looks at a certain spot, but there has to be an easier way. Share this post Link to post Share on other sites
t_d 47 Posted March 7, 2007 You mean something like this? weaponDirection EDIT: Oh, you meant set and not get. Sry my mistake. Share this post Link to post Share on other sites
mr.Flea 0 Posted March 7, 2007 _turretgunner glanceat _SomePos Share this post Link to post Share on other sites
celery 8 Posted March 7, 2007 _turretgunner glanceat _SomePos That only works for manned vehicles and I'm using that method right now. I want something that switches the turret's vector immediately without someone operating it. Share this post Link to post Share on other sites
Platoon_Patton 0 Posted March 7, 2007 Put an empty vehicle,name mytank,write in init:this dotarget certain spot Put a Gamelogic,write in his init:this moveingunner mytank Its not very accurate for closeby targets.. Share this post Link to post Share on other sites
celery 8 Posted March 8, 2007 Put an empty vehicle,name mytank,write in init:this dotarget certain spotPut a Gamelogic,write in his init:this moveingunner mytank Its not very accurate for closeby targets.. Thanks! It's not the best solution because that temporary soldier is actually faster to move the turret, and it would be nice if the turret moved to a desired position when the player is already driving. Nevertheless, I got a wicked idea out of that game logic thing. My original plan with this was to fix the turret of a car to an optimal melee vector to enable maximum damage with manual fire without allowing access to the gunner position. I planned it to be adjustable with radio commands. Share this post Link to post Share on other sites