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
Memento Help!
SonOfLiberty796 Offline
Senior Member

Posts: 371
Threads: 39
Joined: Aug 2011
Reputation: 2
#8
RE: Memento Help!

You dont HAVE TO use an area. You could just use a AddTimer command that gives the memento in like one second or however you want it.

Here's the command if you wish to use it


Creates a timer which calls a function when it expires.
Callback syntax: void MyFunc(string &in asTimer)
asName - the name of the timer
afTime - time in seconds
asFunction - the function to call


AddTimer(string& asName, float afTime, string& asFunction);


So you could do this:

AddTimer("", 1.0f, givememento);


void givememento(string &in asTimer)
{
AddQuest("whereami", "whereami");
}
(This post was last modified: 10-10-2011, 11:17 PM by SonOfLiberty796.)
10-10-2011, 11:15 PM
Find


Messages In This Thread
Memento Help! - by cooleoj - 10-10-2011, 07:49 PM
RE: Memento Help! - by ZyLogicX - 10-10-2011, 08:22 PM
RE: Memento Help! - by cooleoj - 10-10-2011, 08:38 PM
RE: Memento Help! - by ZyLogicX - 10-10-2011, 08:50 PM
RE: Memento Help! - by cooleoj - 10-10-2011, 08:54 PM
RE: Memento Help! - by ZyLogicX - 10-10-2011, 08:58 PM
RE: Memento Help! - by cooleoj - 10-10-2011, 09:01 PM
RE: Memento Help! - by SonOfLiberty796 - 10-10-2011, 11:15 PM
RE: Memento Help! - by ZyLogicX - 10-11-2011, 04:31 PM
RE: Memento Help! - by cooleoj - 10-11-2011, 08:04 AM
RE: Memento Help! - by cooleoj - 10-11-2011, 04:42 PM
RE: Memento Help! - by SonOfLiberty796 - 10-12-2011, 01:22 AM
RE: Memento Help! - by cooleoj - 10-12-2011, 11:27 AM



Users browsing this thread: 1 Guest(s)