Jump to content
Sign in to follow this  
LordZach

Restrict movement to direction turret faces

Recommended Posts

ok let me try to explain this

using devil's HMMWV w/mg script i am working on putting M2 MGs onto some M1A1s. the problem is, the AI keeps turning around in every which direction making it look absolutely stupid. so my question here is would it be possible using a script to restrict the AI to a certain field of turning from say 320 degrees to 40 degrees that the turret, not the hull, is facing?

Share this post


Link to post
Share on other sites

You will have serious problems to get the direction the turret is facing, so I would say: not possible.

If someone could prove me wrong, please do so, I fought some time with this question and didn't find a solution.

Share this post


Link to post
Share on other sites

i wonder if the direction of the gunner would work? probably not but worth a try

Share this post


Link to post
Share on other sites

If you use the direction of the gunner, it will return the direction the gunner was facing directly before getting in the vehicle (allready tried that:)

Share this post


Link to post
Share on other sites

It can be done, but not through mission scripting - you'll have to make a new M2 addon and do the movement arc restriction in its cpp.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×