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?
Cetex1337 Offline
Junior Member

Posts: 21
Threads: 7
Joined: Jun 2012
Reputation: 0
#8
RE: When player enters script area then load next level?

(06-20-2012, 07:55 PM)Chronogyros Wrote:
(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", "", "");
}
Thank you so much, now i understand Smile
06-21-2012, 12:15 PM
Find


Messages In This Thread
RE: When player enters script area then load next level? - by Cetex1337 - 06-21-2012, 12:15 PM



Users browsing this thread: 1 Guest(s)