The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
How do i fix this?
oscar1007 Offline
Member

Posts: 64
Threads: 24
Joined: Oct 2011
Reputation: 0
#1
How do i fix this?

When the player starts the custom story a text shows up and the screen goes black. Then the player does some stuff and gets to another map and after that he is going back to the first map but at another spawn point. Now the text shows up again and i dont want it to.

Here is my script:


void OnStart()
{
AddTimer("", 4, "intro1");
FadeOut(0);
}


void intro1(string &in asTimer)
{
SetMessage("introtextcat1", "introtext1", 5);
AddTimer("", 6, "intro2");
}

void intro2(string &in asTimer)
{
SetMessage("introtextcat2", "introtext2", 5);
AddTimer("", 6, "intro3");
}

void intro3(string &in asTimer)
{
FadeIn(2);
}

I don't want this text (and fadeout) to show up when the player enters the .map file the second time (AT ANOTHER SPAWN POINT).

Can someone help me?

Money can't buy you happiness. But I rather cry in my ferrari.

PROJECT:
http://www.moddb.com/mods/oscar1007
(This post was last modified: 02-09-2012, 06:18 PM by oscar1007.)
02-09-2012, 05:02 PM
Find


Messages In This Thread
How do i fix this? - by oscar1007 - 02-09-2012, 05:02 PM
RE: How do i fix this? - by flamez3 - 02-09-2012, 05:21 PM
RE: How do i fix this? - by oscar1007 - 02-09-2012, 06:18 PM



Users browsing this thread: 1 Guest(s)