Look @ somthing - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Look @ somthing (/thread-7760.html) |
Look @ somthing - X4anco - 05-02-2011 Hello I'm trying to make the player's head rotate void FadePlayerRollTo(80, float 2, float 2); but I don't know how to use it, could you help? Thx RE: Look @ somthing - Roenlond - 05-02-2011 Code: StartPlayerLookAt(ScriptArea, viewacceleration, maxviewvelocity, onlook); viewacceleration controls how fast the player looks. maxviewvelocity controls the max speed the player looks. onlook is a function you call when the player's view is centered on the target. To stop the player from looking at a spot, call StopPlayerLookAt(); Code: } From the sticky up top. |