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?
lolmaster Offline
Member

Posts: 170
Threads: 9
Joined: Jul 2012
Reputation: 6
#3
RE: How do I add a memento after reading a note?

(08-06-2012, 03:52 PM)Statyk Wrote: Here should be the title of the note
Here should be the text from the note
Questname
Here should be the text of the memento



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");
}

Isn't it:
<Entry Name="Quest_EntranceHallKey_Text">Here should be the text of the memento</Entry>

AddQuest("entrancequest", "Quest_EntranceHallKey_Text");


08-06-2012, 04:51 PM
Find


Messages In This Thread
RE: How do I add a memento after reading a note? - by lolmaster - 08-06-2012, 04:51 PM



Users browsing this thread: 2 Guest(s)