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?
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Changing map without a level door?

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.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
11-04-2012, 06:48 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 The chaser - 11-04-2012, 06:48 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)