Skip Intro when in debug / developer mode? (Solved) - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Skip Intro when in debug / developer mode? (Solved) (/thread-7046.html) |
Skip Intro when in debug / developer mode? (Solved) - Shadowfied - 03-25-2011 Hi! I'm creating my own map, and I want my intro (where the player wakes up) only to play when the map is ran on a normal profile. So when I load the map on the developer profile I want the intro to be skipped. I've been checking the scripts for some other maps and seems like some developers do this, I tried copying / pasting that part of the script but it doesn't work for me. By the way, I copied the script from the custom story "Black Forest Castle" by "theDARKW0LF" So here's how my script looks.. Spoiler below!
I don't understand how this code works Spoiler below!
If anyone could be please tell me how I can skip the intro in developer mode I would appreciate it very much. And I am also a newbie at scripting, I know so please don't leave unnecessary replies, thanks. RE: Skip Intro when in debug / developer mode? - Pandemoneus - 03-25-2011 He copied that from me. Remove the fifth line Code: wakeUp(); RE: Skip Intro when in debug / developer mode? - Shadowfied - 03-25-2011 Will it still play on a normal profile then? RE: Skip Intro when in debug / developer mode? - Pandemoneus - 03-25-2011 Try it? You got it two times, that's why it plays all the time even when you are in debug mode.. And of course it will only play when other players are not using debug mode either, that's why I would remove the if part when you release your custom story. RE: Skip Intro when in debug / developer mode? - Shadowfied - 03-25-2011 Tried it and it works the way I want to! Thank you very much! RE: Skip Intro when in debug / developer mode? (Solved) - Tesseract - 03-25-2011 Awesome |