![]() |
StartPlayerLookAt does not work - 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) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: StartPlayerLookAt does not work (/thread-17540.html) Pages:
1
2
|
StartPlayerLookAt does not work - Lake - 08-06-2012 this is my script: Code: void OnStart() When the player passes the area of script, the layer freezes, but does not look at the object in question, plus also the void capitolo01 does not work RE: StartPlayerLookAt does not work - Traggey - 08-06-2012 This belongs in development support, make sure to post these kinds of questions there in the future. Moved. RE: StartPlayerLookAt does not work - Lizard - 08-06-2012 StartPlayerLookAt("home", 1, 1, "capitolo01"); what is home in the level editor? RE: StartPlayerLookAt does not work - Lake - 08-06-2012 (08-06-2012, 06:55 PM)ZereboO Wrote: StartPlayerLookAt("home", 1, 1, "capitolo01"); ![]() this RE: StartPlayerLookAt does not work - Lizard - 08-06-2012 thats the problem. I dont think you can use StartPlayerLookAt on a Zimmer hause It only works with entites that the player can move in-game RE: StartPlayerLookAt does not work - Lake - 08-06-2012 I changed entity and now the player looks at him, but the void capitolo01 still does not work .... why? RE: StartPlayerLookAt does not work - Lizard - 08-06-2012 I changed entity and now the player looks at him, but the void capitolo01 still does not work .... why? Do you mean that the player wont stop looking? RE: StartPlayerLookAt does not work - Your Computer - 08-06-2012 (08-06-2012, 07:11 PM)Lake Wrote: I changed entity and now the player looks at him, but the void capitolo01 still does not work .... why? Because you have the wrong callback syntax. RE: StartPlayerLookAt does not work - FlawlessHappiness - 08-06-2012 I've never made the look-callback work. I would add another timer and make that call capitolo01 RE: StartPlayerLookAt does not work - Lizard - 08-06-2012 (08-06-2012, 07:11 PM)Lake Wrote: I changed entity and now the player looks at him, but the void capitolo01 still does not work .... why?use this syntax (string& asEntityName, float afSpeedMul, float afMaxSpeed, string& asAtTargetCallback); |