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!
ZyLogicX Offline
Member

Posts: 245
Threads: 24
Joined: May 2011
Reputation: 6
#10
RE: Memento Help!

(10-10-2011, 11:15 PM)Xvideogamer720X Wrote: 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");
}
Okay, really... Why would you use timers for momento's?

Beyond the Mountains of Madness [15%]
This forum is dying.
10-11-2011, 04:31 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: 7 Guest(s)