![]() |
How Make AreaLook - 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: How Make AreaLook (/thread-6759.html) |
How Make AreaLook - toni1998 - 03-01-2011 I have a problem you put "AreaLook1" not working how do RE: How Make AreaLook - nkmol - 03-01-2011 what a coincidence , i was just doing the same script for the first time ![]() what i think is that you cant use a Area, because a Area doesn't have a Callback. they LookAt script doesnt work either for me ; SetEntityPlayerLookAtCallback(string& asName, string& asCallback, bool abRemoveWhenLookedAt); what i did was putting the LookAt at a object and made a Callback Code: void Scare_GruntFood(string &in entity, int alState) the only thing you have to do is putting your callback in the level editor, in the PlayerLookAtCallback ofcourse ![]() ![]() if anybody know how the LookAtCallBack script works and if it is possible at a Area, please reply. You'll help us both, hehe ![]() RE: How Make AreaLook - Ongka - 03-01-2011 I think he means that the player automatically starts looking at "AreaLook". Code: void OnStart() RE: How Make AreaLook - nkmol - 03-01-2011 Ow sorry for that then xD faill... XD Though i already placed my problem would you mind to help me too? ![]() Although my lookatcallback on a object is already working , but is it possible to do it on an area? :p |