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 can I make an area for a mapchange?
SkuLLfac3 Offline
Junior Member

Posts: 48
Threads: 11
Joined: Jun 2011
Reputation: 0
#11
RE: How can I make an area for a mapchange?

Hmm...I think I search tomorrow for the problem. At my timezone its 3:31 AM Big Grin

But thanks for the other solutions and I will tell when I found out whats wrong ^^
06-23-2011, 02:30 AM
Find
Rownbear Offline
Member

Posts: 157
Threads: 13
Joined: Apr 2011
Reputation: 2
#12
RE: How can I make an area for a mapchange?

void OnStart()
{

AddEntityCollideCallback("Player", "toLatrine", "to_Latrine", false, 1);
}

void toLatrine(string &in asParent, string &in asChild, int alState)

{
ChangeMap("Latrine", "PlayerStartArea_1", "", "");
}

they don't match

06-23-2011, 03:10 AM
Find
SkuLLfac3 Offline
Junior Member

Posts: 48
Threads: 11
Joined: Jun 2011
Reputation: 0
#13
RE: How can I make an area for a mapchange?

Thanks but the map still doesn't work. So I'm gonna to build this map again...
06-23-2011, 02:00 PM
Find
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#14
RE: How can I make an area for a mapchange?

Try this:
{
ChangeMap("Latrine.map", "PlayerStartArea_1", "", "");
}
06-23-2011, 02:16 PM
Find
SkuLLfac3 Offline
Junior Member

Posts: 48
Threads: 11
Joined: Jun 2011
Reputation: 0
#15
RE: How can I make an area for a mapchange?

I tried. Nothing happened. But I found the problem. After I build a new map, the game still loads the old file. I found the Intro2.map cache file and I deleted it. Now it works Smile

But thanks for all advices

[Die Latrine der Angst] The demo of my 1st story (:
06-23-2011, 03:28 PM
Find
Doctorcheese Offline
Senior Member

Posts: 272
Threads: 28
Joined: Jan 2011
Reputation: 0
#16
RE: How can I make an area for a mapchange?

Always that darn cache ^^

''Sick, twisted child... You'll burn for this!''
06-23-2011, 07:45 PM
Find




Users browsing this thread: 3 Guest(s)