Affecting Real-Life Sanity - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html) +--- Thread: Affecting Real-Life Sanity (/thread-8978.html) |
RE: Affecting Real-Life Sanity - Kyle - 07-12-2011 (07-11-2011, 10:45 PM)Im_Sexy Wrote: Sorry to sound like a noob... but how do i do these above ^? StartPlayerLookAt("ScriptArea_1", 2, 2, ""); You should change the parameters that say "ScriptArea_1" to the area in which you want the player to look at. Can also be used with any other active (existing) object. To stop it, use this: StopPlayerLookAt(); This is what it says in the wiki: Code: void StartPlayerLookAt(string& asEntityName, float afSpeedMul, float afMaxSpeed, string& asAtTargetCallback); |