![]() |
[SCRIPT] How to Make an ending? - 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: [SCRIPT] How to Make an ending? (/thread-12928.html) |
How to Make an ending? - trollox - 01-28-2012 Hi forums it's me trollox , again -.-... Anyhow, i wonder how do i creat a endscript that takes me to the credits? I guess i have to creat a regular script area that'll triggure the credits? I'd be very happy if someone could write it down in details because this is my first map and got no other scripting / maping experience what so ever, so that would help. Trollox RE: How to Make an ending? - FlaW - 01-29-2012 create a script area and write the script: { AddEntityCollideCallback("Player", "scriptarea", "credits", true, 1); } void credits(string &in asParent, string &in asChild ,int alState) { StartCredits("musicname", "music loop", "text category", "text entry", put more 3); } RE: How to Make an ending? - Shadowfied - 01-30-2012 The text category thought must be called "Ending" and the Entry must be "MainCredits" RE: How to Make an ending? - trollox - 01-30-2012 I'm already done with the mod. But thanks for trying to help ![]() |