Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
NaturalTvventy

ASC - have monster always facing target

Recommended Posts

I nabbed the rail bot from realm667 (http://realm667.com/index.php/en/beastiary-mainmenu-136-69621/doom-style-mainmenu-105-73113?start=180). That version can move along the ceiling. I reduced the "monster"'s speed to zero so that it remains stationary as I desire. The only other thing is that it perpetually looks left a right because of  A_Chase I believe. Is there a way to make an enemy always facing its target. It looks a little weird to have the turret wobbling all the time.

Share this post


Link to post

A_Chase has a few flags you can set to control the turning behavior. Setting CHF_DONTTURN ought to stop the random "looking", and you can throw in a call to A_FaceTarget here and there to get it to, well, face the target.

 

Hope this helps!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×