![]() |
Ending map with a note - 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: Ending map with a note (/thread-10816.html) |
Ending map with a note - i3670 - 10-17-2011 I'm want my credits to start and my map to end when I pick up a note. Any suggestion on script? Found some threads about starting your credits, but none (what I could find) that said anything about notes. RE: Ending map with a note - Elven - 10-17-2011 Code: void SetEntityCallbackFunc(string& asName, string& asCallback); Code: void StartCredits(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum); ![]() RE: Ending map with a note - schmupper - 10-17-2011 Think you could use this one: Code: void SetEntityCallbackFunc(string& asName, string& asCallback); And in the MyFunc; Code: void StartCredits(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum); RE: Ending map with a note - i3670 - 10-17-2011 Can you put that in the: OnStart() Will make it easier to understand ![]() RE: Ending map with a note - schmupper - 10-17-2011 Code: void OnStart() RE: Ending map with a note - A Tricky Carnie - 10-18-2011 I did that on one of my maps, it went like this: Quote:{ |