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
Map Duplicate Help!
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Map Duplicate Help!

There are many ways you can combine 2 maps. I'll go tell you the most basic one. Tongue

Door = swing door used in level transfer.
Map01 = first map that links to second map.
Map02 = second map that links to first map.

void OnStart()
{
     SetEntityPlayerInteractCallback("Door", "Func01", false);
}
void Func01(string &in asEntity)
{
     FadeOut(3);
     FadeIn(6);
     ChangeMap("Map02", "PlayerStartArea_1", "", "");
}

Then on the other side of the door have it do the exact same thing except that have it be "PlayerStartArea_2" and "Map01" for the ChangeMap command function.

Hope this helps! Smile

(This post was last modified: 08-17-2011, 03:43 PM by Kyle.)
08-17-2011, 03:43 PM
Find


Messages In This Thread
Map Duplicate Help! - by JetlinerX - 08-17-2011, 03:35 PM
RE: Map Duplicate Help! - by Kyle - 08-17-2011, 03:43 PM
RE: Map Duplicate Help! - by Khyrpa - 08-17-2011, 04:44 PM
RE: Map Duplicate Help! - by JetlinerX - 08-17-2011, 04:46 PM



Users browsing this thread: 1 Guest(s)