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?
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#4
RE: Add quest after reading note?

(04-19-2013, 03:22 PM)JustAnotherPlayer Wrote: 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.

There's no script that can check if the player has read the note only if the player has picked it up. Anyway, the note will open automatically on pick up so just use the interactcallback

"What you think is irrelevant" - A character of our time

A Christmas Hunt
04-19-2013, 03:52 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 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: 1 Guest(s)