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
Making a timed room transition
Chilton Offline
Member

Posts: 138
Threads: 9
Joined: Sep 2010
Reputation: 0
#1
Making a timed room transition

Ok
To go into more detail, im trying to make a script for a map in which you are transitioned into the map (Irrelevant), then after a set time, you automatically move to a new map.
------
void OnStart()
{
AddTimer("Countdown", 500f, "CountdownHallucination");
}

void CountdownHallucination(string &in asTimer)
{
ChangeMap("map 3.map", "PlayerStartArea_1", "player_climb.snt", "player_crouch.snt");
}
------
^^ Is what i currently have, and the script is accepted, but after the 500f, nothing happens. I even left it for longer and nothing happens.
What am i not doing here?

As usual, any guidance is much appreciated.
10-02-2010, 06:08 AM
Find


Messages In This Thread
Making a timed room transition - by Chilton - 10-02-2010, 06:08 AM
RE: Making a timed room transition - by Alexander - 10-02-2010, 07:38 AM



Users browsing this thread: 1 Guest(s)