oscar1007
Member
Posts: 64
Threads: 24
Joined: Oct 2011
Reputation:
0
|
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?
(This post was last modified: 02-09-2012, 06:18 PM by oscar1007.)
|
|
02-09-2012, 05:02 PM |
|
flamez3
Posting Freak
Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation:
57
|
RE: How do i fix this?
I would use void OnEnter(). But I wouldn't know if this stops doing it after 1 use. Also; make sure "Fullgamesave" is checked on the door that leads to the next map.
|
|
02-09-2012, 05:21 PM |
|
oscar1007
Member
Posts: 64
Threads: 24
Joined: Oct 2011
Reputation:
0
|
RE: How do i fix this?
(02-09-2012, 05:21 PM)flamez3 Wrote: I would use void OnEnter(). But I wouldn't know if this stops doing it after 1 use. Also; make sure "Fullgamesave" is checked on the door that leads to the next map. Thank you! Fixed it! Checked the fullgamesave box!
|
|
02-09-2012, 06:18 PM |
|