Jump to content

Track where a NPC is aiming?


Hopper31

Recommended Posts

In the TItanfallout mod that I'm currently updating, some people are asking me to implement a better aiming system for the titans than what I currently have. Currently there is a flame that is place directly where the player is looking and the titan is then tweaked to aim in the general area around the flame. It works to an extent, but it becomes increasingly off the farther you look from the center, or when the target is too close/far. So what I'm asking is: Is there a way to place a marker at the location that a NPC is aiming at?

 

Edit: I think I found an easier way using GetHeadingAngle, but that only works for the Z axis. Is there a way to script a version for the X axis?

Edited by Hopper31
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...