![]() |
Help with look area - 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: Help with look area (/thread-21621.html) |
Help with look area - Wank - 05-26-2013 This still doesn't work.. Extra english- <LANGUAGE> <CATEGORY Name="CustomStoryMain"> <Entry Name="Description">You find yourself in the mansion of a deranged artist and musician. Could he be hiding something in this hidious house?</Entry> </CATEGORY> <CATEGORY Name="Journal"> <Entry Name="Note_letterone_Name">A quick note to self</Entry> <Entry Name="Note_letterone_Text">So I don't forget- The key to the study is hidden behind the painting in my piano room!</Entry> <Entry Name="Note_noteenvelope_Name">To Costa De Luca</Entry> <Entry Name="Note_noteenvelope_Text">You are invited to show your work at the Bergam Art Museum! Bring any artwork pieces as you wish, and we will see you there! (1834, October 16th)</Entry> <Entry Name="Note_diarypaperone_Name">Journal entry page one</Entry> <Entry Name="Note_diarypaperone_Text">1834, October 16th. Now that I have been invited to Bergam, I can bring my master piece! It is almost prepared, I just need a few more parts.</Entry> <Entry Name="Note_diarypapertwo_Name">Journal entry page two</Entry> <Entry Name="Note_diarypapertwo_Text">1834, October 17th. The showcase is in two weeks, so I need to prepare more quickly. I am just missing one more thing, which is hard to get.[br]Heading down to the library now.</Entry> <Entry Name="Note_notelibrary_Name">A Riddle in Rhyme</Entry> <Entry Name="Note_notelibrary_Text">The first one is at K, and don't be too slow.[br] The next one is at M, but you arleady know.[br] The last one you need is in B, as you can see. [br] Now you know my secret, so come and find me.[br]</Entry> </CATEGORY> <CATEGORY Name="MessageAppear"> <Entry Name="MessageEntry_LookA">A</Entry> <Entry Name="MessageEntry_LookB"> <Entry Name="MessageEntry_LookC"> <Entry Name="MessageEntry_LookD"> <Entry Name="MessageEntry_LookE"> <Entry Name="MessageEntry_LookF"> <Entry Name="MessageEntry_LookG"> <Entry Name="MessageEntry_LookH"> <Entry Name="MessageEntry_LookI-J"> <Entry Name="MessageEntry_LookK"> <Entry Name="MessageEntry_LookM"> </LANGUAGE> Script- void OnStart () { SetEntityPlayerLookAtCallback("LookA", "MessageAppear", false); SetEntityPlayerLookAtCallback("LookB", "MessageAppear", false); SetEntityPlayerLookAtCallback("LookC", "MessageAppear", false); SetEntityPlayerLookAtCallback("LookD", "MessageAppear", false); SetEntityPlayerLookAtCallback("LookE", "MessageAppear", false); SetEntityPlayerLookAtCallback("LookF", "MessageAppear", false); SetEntityPlayerLookAtCallback("LookG", "MessageAppear", false); SetEntityPlayerLookAtCallback("LookH", "MessageAppear", false); SetEntityPlayerLookAtCallback("LookI-J", "MessageAppear", false); SetEntityPlayerLookAtCallback("LookK", "MessageAppear", false); SetEntityPlayerLookAtCallback("LookM", "MessageAppear", false); } void MessageAppear(string &in asEntity, int alState) { SetMessage("MessageAppear", "MessageEntry", 5); } RE: Help with look area - PutraenusAlivius - 05-26-2013 (05-26-2013, 03:05 AM)Wank Wrote: This still doesn't work.. Like that, but the MessageEntry has to be the same as the one in the .lang file. |