Modding Help Help with Lua's and head following cursor.

Discussion in 'Starbound Modding' started by Gniolliv, Mar 16, 2018.

  1. Gniolliv

    Gniolliv Scruffy Nerf-Herder

    Hi everybody,

    I'm not that advanced in lua coding, but I'm sure there is a way to add a codeline in my custom weapon.lua that would let players who're using my custom weaponry to have their head following the cusror while firing. Is there something related to self.aimHeadAngle?

    Or maybe i'm wrong, could someone teach/explain how to?
     

Share This Page