Frictional Games Forum (read-only)
Need help resolving an issue - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Need help resolving an issue (/thread-24636.html)



Need help resolving an issue - Xyler94 - 02-16-2014

Hello everyone, I am having an issue with going from one map to the next. My script works perfectly for my first room, it does exactly what I need it to do. I don't know why it doesn't want to go from one room to the next, could you please help me?

I've included everything that I've worked on so far, all the .lang files, all the .map files and the .hps files. I'd really appreciate if someone could help with my issue, thanks in advance.


RE: Need help resolving an issue - RaideX - 02-16-2014

(02-16-2014, 08:20 AM)Xyler94 Wrote: Hello everyone, I am having an issue with going from one map to the next. My script works perfectly for my first room, it does exactly what I need it to do. I don't know why it doesn't want to go from one room to the next, could you please help me?

I've included everything that I've worked on so far, all the .lang files, all the .map files and the .hps files. I'd really appreciate if someone could help with my issue, thanks in advance.

you have to select the leveldoor and then choose which map should be loaded when the player interacts with the door.

Click Door > Entity > Map File > Chooses Map to load

EDIT: Nevermind, still looking into your problem.

Alright, seems you forget the OnLeave function in your maps and in the second map you forget the "void" before "OnStart". Either fix it yourself or replace your script files with these.


RE: Need help resolving an issue - Xyler94 - 02-16-2014

(02-16-2014, 10:49 AM)RaideX Wrote:
(02-16-2014, 08:20 AM)Xyler94 Wrote: Hello everyone, I am having an issue with going from one map to the next. My script works perfectly for my first room, it does exactly what I need it to do. I don't know why it doesn't want to go from one room to the next, could you please help me?

I've included everything that I've worked on so far, all the .lang files, all the .map files and the .hps files. I'd really appreciate if someone could help with my issue, thanks in advance.

you have to select the leveldoor and then choose which map should be loaded when the player interacts with the door.

Click Door > Entity > Map File > Chooses Map to load

EDIT: Nevermind, still looking into your problem.

Alright, seems you forget the OnLeave function in your maps and in the second map you forget the "void" before "OnStart". Either fix it yourself or replace your script files with these.

Wow... i can't believe i did something like that. Adding void before the OnLeave and Onstart(on the other hps) worked to solve my problem. I thank you so much RaideX, that was great help.


RE: Need help resolving an issue - RaideX - 02-16-2014

Quote:Wow... i can't believe i did something like that. Adding void before the OnLeave and Onstart(on the other hps) worked to solve my problem. I thank you so much RaideX, that was great help.

You're welcome Smile