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
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#6
RE: Fatal Error, Cannot Load World Map

(09-18-2011, 08:36 PM)GreyFox Wrote: Uhh So I switched

ChangeMap("Tutorial.map", "PlayerStartArea_2", "", "");

and

void ChangeMap1(string &in asEntity)

is that what you ment? Becuase I'm still getting an error.

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

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

In SetEntityPlayerInteractCallback() you chose "ChangeMap1" for the callback. However, the ChangeMap1 function is located in your overloaded ChangeMap function. The game, therefore, will not be able to call the ChangeMap1 function because it hasn't be defined. However, this logical error won't (shouldn't) crash the game.

(09-18-2011, 08:36 PM)GreyFox Wrote: How do you do Level doors?

Level doors are as easy as placing them in your map, selecting it, and under the Entity tab (to the right) adjusting the properties. You don't need to use an interaction callback for the door to transfer the player to another map.

Tutorials: From Noob to Pro
09-18-2011, 08:52 PM
Website Find


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



Users browsing this thread: 1 Guest(s)