Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Changing map without a level door?
Tiger Away
Posting Freak

Posts: 1,874
Threads: 16
Joined: Nov 2012
Reputation: 55
#3
RE: Changing map without a level door?

(11-04-2012, 06:48 PM)The chaser Wrote: void OnStart()

{

AddEntityCollideCallback("Player", "ChangeLevelScript_1", "ChangeMap_1", true, 1);

}



void ChangeMap_1 (string &in asParent, string &in asChild, intalState)

{

ChangeMap("MyMapName.map", "PlayerStartArea_1, "", "")

}

Every function (or void) has a syntax. You didn't have one.
Ah! Thanks a lot! Big Grin
11-04-2012, 06:50 PM
Find


Messages In This Thread
Changing map without a level door? - by Tiger - 11-04-2012, 06:41 PM
RE: Changing map without a level door? - by Tiger - 11-04-2012, 06:50 PM
RE: Changing map without a level door? - by Tiger - 11-04-2012, 07:02 PM
RE: Changing map without a level door? - by Tiger - 11-04-2012, 11:48 PM
RE: Changing map without a level door? - by Tiger - 11-05-2012, 11:44 AM



Users browsing this thread: 1 Guest(s)