Question thats not in docs
Displaying 1-2 of 2 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
herger

I have my maps created and everything, but now its time to accually make the game work. So my question is: How would you make it, so that after this battle has been beat, or after you step on this square, you would load this new map. I tried to do:

int i;

(then on the square tile zone code I did)
i=1;

(then when you were leaving to diffrent map)
if(checkpoint=1)
{
HookRetrace(0);
HookTimer(0);
BoxedMosaicFadeOut(100,0);
MapSwitch(137,116,"world2.map");
}
else
{
HookRetrace(0);
HookTimer(0);
BoxedMosaicFadeOut(100,0);
MapSwitch(137,116,"world.map");
}

What am I doing wrong cause Maped does like it.
THanks =)



Posted on 2001-05-07 15:54:55

ltcmdstarbuck

Ok, first off, what kind of error are you getting?

There are a few things you should check for. First of, did you set the tile in maped. Check the properties, make sure the correct event is selected in the properties. Did you remember to set the chance to 255. After that all you need is something like this:

Event{ // Event #2

//Put any code that must be executed before moving
//to the next map.

BoxedMosaicFadeOut(100,0);
MapSwitch(137,116,"world.map");
}

This may be over simplified, but that's the basic layout of a mapswitch.




Posted on 2001-05-07 20:06:58


Displaying 1-2 of 2 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.