I'm not really that experienced in the scripting from scratch part of custom story making, so I was hoping someone here would know how to solve my problem. In my custom story, the player is supposed to walk to a scripting area where he will start to faint, the screen will go black and then he should wake up in a new map which features the same room but now in a much darker environment.
Hope you know how to help me out! :-)

If the script crashes, I can only assume it isn't finding the map. I do think you need to include the .map extension in the script. Also make sure the name is correct.

However as for your situation, you'll want to use some timers here. If you run the ChangeMap script immediately after the FadeOut script, it won't have time to fade out the screen, so it will just cut right away.

Also if you want the player's view to roll to the side, I think the speeds you have chosen for FadePlayerRollTo are very high. I think they might even be high enough so that the player won't notice the roll, but just the new angle of the camera. I suggest using speeds around 10-15.

As for the timers, instead of running ChangeMap right after FadeOut, try doing:

(01-07-2015, 11:10 AM)Mudbill Wrote: If the script crashes, I can only assume it isn't finding the map. I do think you need to include the .map extension in the script. Also make sure the name is correct.

However as for your situation, you'll want to use some timers here. If you run the ChangeMap script immediately after the FadeOut script, it won't have time to fade out the screen, so it will just cut right away.

Also if you want the player's view to roll to the side, I think the speeds you have chosen for FadePlayerRollTo are very high. I think they might even be high enough so that the player won't notice the roll, but just the new angle of the camera. I suggest using speeds around 10-15.

As for the timers, instead of running ChangeMap right after FadeOut, try doing:

This will do so that the map change won't happen until 5.5 seconds after the fade out starts.

I've used the scripts you've supplied but the changemap line still creates an error. It might be because of the map location as you say but I can't seem to figure out what it wants for it to work. My map is located at custom-stories/"customstoryname"/maps/mapname.map
and in the script i write "mapname.map" and afterwards "maps/mapname.map" but none of them works :/