Robby
Posting Freak
Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation:
47
|
RE: How To Transition To A New Map?
(09-03-2012, 09:20 PM)g2uypie Wrote: (09-03-2012, 09:08 PM)Nemet Robert Wrote: (09-03-2012, 09:06 PM)g2uypie Wrote: (09-03-2012, 09:02 PM)Nemet Robert Wrote: (09-03-2012, 08:59 PM)g2uypie Wrote: I've downloaded other peoples maps, and seen like map1.map, map2.map, and so on. How do I make it so once they pass a trigger, it loads a new map? When you collide with a script zone, the callback must trigger this function:
ChangeMap(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound);
Additional info:
asMapName - the file to load
asStartPos - the name of the StartPos on the next map
asStartSound - the sound that is played when the change starts
asEndSound - the sound that is played when the new map is loaded
If this helped, make sure you help me out with a +1. I help you, you help me, you know. Thanks a ton. Sending rep your way right now Thanks. And you're welcome. And it works, right? I'm unsure right now, I just needed that for later on. If not, i'll come back and send you a message. Ok, when I'll see that message (if there will be), I'll look into it. It is 11:21PM right now at where I live. And I need the sleep.
Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
|
|
09-03-2012, 09:21 PM |
|