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 Transitions
Chilton Offline
Member

Posts: 138
Threads: 9
Joined: Sep 2010
Reputation: 0
#5
RE: Map Transitions

(09-27-2010, 06:07 AM)Equil Wrote: In your OnStart() put
AddEntityCollideCallback("Player", "<NameOfArea>", "<FunctionToCall>", true, 1);

So it should look something like:
void OnStart()
{
AddEntityCollideCallback("Player", "<NameOfArea>", "<FunctionToCall>", true, 1);
}

void FunctionToCall[u](string &in asParent, string &in asChild, int alState)[/u]
{
ChangeMap("<MapToChangeTo>", string& asStartPos, string& asStartSound, string& asEndSound);
}

Hope this helps.

Worked a charm - Thankyou kindly - The underline is what i missed
09-27-2010, 06:13 AM
Find


Messages In This Thread
Map Transitions - by Chilton - 09-27-2010, 04:32 AM
RE: Map Transitions - by Equil - 09-27-2010, 05:49 AM
RE: Map Transitions - by Chilton - 09-27-2010, 05:59 AM
RE: Map Transitions - by Equil - 09-27-2010, 06:07 AM
RE: Map Transitions - by Chilton - 09-27-2010, 06:13 AM
RE: Map Transitions - by Equil - 09-27-2010, 06:19 AM



Users browsing this thread: 1 Guest(s)