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
When player enters script area then load next level?
Chronogyros Offline
Junior Member

Posts: 43
Threads: 9
Joined: Oct 2011
Reputation: 2
#7
RE: When player enters script area then load next level?

(06-20-2012, 07:16 PM)Cetex1337 Wrote: Does anyone know what the script is so that if the player enters a specific area then it loads next level / room? And that it should work just as a door (that loads the other level / room)

Please reply ASAP.
AddEntityCollideCallback("Player", "SCRIPTAREA", "FUNCTION", true, 1);





void FUNCTION(string &in asParent, string &in asChild, int alState)
{
ChangeMap("YOURMAP.map", "PlayerStartArea_1", "", "");
}

Emma's Story Part II 100% Complete
06-20-2012, 07:55 PM
Find


Messages In This Thread
RE: When player enters script area then load next level? - by Chronogyros - 06-20-2012, 07:55 PM



Users browsing this thread: 1 Guest(s)