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
Script Help Add quest after reading note?
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#3
RE: Add quest after reading note?

For the quest after note thing;
PHP Code: (Select All)
void OnStart()
{
SetEntityCallbackFunc("NOTENAME""AddTimerQuest");
}

void AddTimerQuest(string &in asEntitystring &in type)
{
AddTimer(""3.0f"AddQuest"); //Change 3.0f to how long you want the note to last.
}

void AddQuest(string &in asTimer)
{
AddQuest("Quest1""EntryName"); //Change EntryName to what entry in the .lang file. Category must be in "Journal" and start with "Quest_<EntryName>_Text"! 
//(NOTE: You don't have to write the Quest_ and the _Text.)

But I don't know if the Player skips it or get's too long.

@The Chaser
The quest will be added when the Player picks it up. He wants it to be added when the Player was finished reading it too.

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 04-19-2013, 03:24 PM by PutraenusAlivius.)
04-19-2013, 03:22 PM
Find


Messages In This Thread
Add quest after reading note? - by serbusfish - 04-19-2013, 03:08 PM
RE: Add quest after reading note? - by The chaser - 04-19-2013, 03:20 PM
RE: Add quest after reading note? - by PutraenusAlivius - 04-19-2013, 03:22 PM
RE: Add quest after reading note? - by i3670 - 04-19-2013, 03:52 PM
RE: Add quest after reading note? - by ClayPigeon - 04-19-2013, 04:30 PM
RE: Add quest after reading note? - by The chaser - 04-19-2013, 04:38 PM
RE: Add quest after reading note? - by WALP - 04-19-2013, 08:36 PM
RE: Add quest after reading note? - by serbusfish - 04-22-2013, 12:12 AM



Users browsing this thread: 2 Guest(s)