Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I add a memento after reading a note?
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: How do I add a memento after reading a note?

<LANGUAGE>
<CATEGORY Name="Journal">
<Entry Name="Note_Startnote_Name">Here should be the title of the note</Entry>
<Entry Name="Note_Startnote_Text">Here should be the text from the note</Entry>
<Entry Name="Quest_EntranceHallKey_Name">Questname</Entry>
<Entry Name="Quest_EntranceHallKey_Text">Here should be the text of the memento</Entry>
</CATEGORY>
</LANGUAGE>

Pick the note entity and go to the Entity tab on the right. Fill in the PlayerInteractCallback box with "entrancequest_func" (no quotations). Then in your .hps put, Outside the OnEnter and OnStart:

void entrancequest_func(string &in asEntity)
{
AddQuest("entrancequest", "EntranceHallKey");
}
(This post was last modified: 08-06-2012, 03:52 PM by Statyk.)
08-06-2012, 03:52 PM
Find


Messages In This Thread
RE: How do I add a memento after reading a note? - by Statyk - 08-06-2012, 03:52 PM



Users browsing this thread: 1 Guest(s)