Sorry if there is already a thread with this question. I searched but I don't found anything.
My question is: How can I make an area for a mapchange?
I have a room with a hole in the middle. On the bottom of the hole is a area called "Area1". Now I want that the map changes when you fall trough the hole (trough the area). The next map called "Map2".
Does anyone know what script I have to write?
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
But now I have another problem. Always when I run the custom story, the game crashes after the first map and this message appears:
FATAL ERROR: Could not load script file 'custom_stories/Latrine der Angst EXTENDED VERSION/maps/ch01/Intro2.hps'!
main (15, 1) : ERR : Expected ',' or ','
Neither do I, it certainly isn't anything wrong with the script itself. Perhaps you should try to restart the game? It's pretty weird actually...
Since the "way" to the green light and stuff is shorter when you add the scripts, perhaps the game is loading an old mapfile? No it shouldn't... You're not changing any of that stuff. Ah well I'm unsure, tell if you find a way to fix it