Frictional Games Forum (read-only)

Full Version: SetMessage help!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?


Code:
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

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);
}
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