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
Fatal Error, Cannot Load World Map
GreyFox Offline
Member

Posts: 162
Threads: 23
Joined: Jul 2011
Reputation: 2
#1
Fatal Error, Cannot Load World Map

Hey Guys With my custom story whenever I got through a level door it brings up an error (the one in the title)
and then my game crashes. Don't Know what to do maybe my codes wrong.

////////////////////////////
// Run first time starting map
void OnEnter()
{
    SetEntityPlayerInteractCallback("ToTut2", "ChangeMap", false);
}

void ChangeMap(string &in asEntity)
{
    ChangeMap("Tut2.map", "PlayerStartArea_1", "", "");
}

And in my other maps HPS file

////////////////////////////
// Run first time starting map
void OnStart()
{
    SetEntityPlayerInteractCallback("ToTut1", "ChangeMap1", false);
}

void ChangeMap(string &in asEntity)
{
    ChangeMap1("Tutorial.map", "PlayerStartArea_2", "", "");
}

Thanks
-Grey Fox

Current Project
Forgotten
09-18-2011, 06:13 PM
Find


Messages In This Thread
Fatal Error, Cannot Load World Map - by GreyFox - 09-18-2011, 06:13 PM



Users browsing this thread: 1 Guest(s)