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
Diaries don't open the journal
Viperdream Offline
Member

Posts: 124
Threads: 16
Joined: Jan 2011
Reputation: 0
#1
Diaries don't open the journal

I have a small problem considering diaries.

I know that I need to add a callback in the level editor. I used PickDiary like in the files from the real game:
Game file:
Spoiler below!
// Player picks diary page, start guardian event
void PickDiary(string &in asItem, int alEntryIdx)
{
AddDebugMessage("Picked diary page", false);
PlayMusic("28_paper_daniel01.ogg", false, 0.4f, 0.5f, 10, false);

//DISABLED HERE, AFTER FIRST ALTAR INSTEAD AND NOT THE MAIN LARGE DOOR, THE SMALL ENTRANCE INSTEAD
//AddTimer("TimerGuardianRoar", 2.0f, "TimerGuardianRoar");
}
My script:
Spoiler below!
//Diaries
void PickDiary(string &in asItem, int alEntryIdx)
{
PlayMusic("22_paper_daniel01.ogg", false, 1.0f, 4.0f, 3, true);
}


They show up in the journal if I manually access them. But I want to let them automatically open like in the game and with notes. I tried the ReturnOpenJournal(true); but that didn't work.

Help is appreciated Smile

03-12-2011, 09:00 PM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#2
RE: Diaries don't open the journal

Are you using the same settings in the entity tab?

[Image: 10nxg5e.jpg]

03-12-2011, 09:08 PM
Find
Viperdream Offline
Member

Posts: 124
Threads: 16
Joined: Jan 2011
Reputation: 0
#3
RE: Diaries don't open the journal

I am, this is what is in it:
[Image: diary.jpg]

(This post was last modified: 03-12-2011, 09:19 PM by Viperdream.)
03-12-2011, 09:18 PM
Find




Users browsing this thread: 1 Guest(s)