Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved SetMessage help!
Author Message
KSukoshi Offline
Junior Member

Posts: 6
Joined: Jan 2012
Reputation: 0
Post: #1
SetMessage help!
Hello, somebody can help a freaking newb ? XD
I do not quite understand one thing on hlp2.
How can put two SetMessage in the void OnStart() after another?


SetMessage("Intro", "msg1", 4.0f); when the SetMessage with "msg1" ends.

how i can initialize other SetMessage after this?
Sorry if my english is bad, my native language is japanese, and i'm learning portuguese. XD
(This post was last modified: 01-04-2012 12:24 PM by KSukoshi.)
01-04-2012 11:58 AM
Find all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,320
Joined: Apr 2011
Reputation: 57
Post: #2
RE: SetMessage help!
You have to use timers,

Use this in the normal function block:
Quote:AddTimer("timer_1", 4.2f, "Timer_1");

And this in a new block

Quote:void Timer_1(string &in asTimer)
{
SetMessage("Intro", "msg1", 4.0f);
}

01-04-2012 12:07 PM
Find all posts by this user Quote this message in a reply
KSukoshi Offline
Junior Member

Posts: 6
Joined: Jan 2012
Reputation: 0
Post: #3
RE: SetMessage help!
Wow, it's easy, I can not believe I did not understand, now I understand what it is for the timers. i think... XD
But it's work! Thanks Big Grin
01-04-2012 12:23 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)