![]() |
[LANG] Making credits WHEN LEAVING a .map file - 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: [LANG] Making credits WHEN LEAVING a .map file (/thread-12645.html) |
Making credits WHEN LEAVING a .map file - oscar1007 - 01-16-2012 Hi! Maybe this sounds easy to you but well this is my first custom story. So i have a level door which go to nothing. If i try to open it i will get an error. Is there a way to make the credits when "opening" that door? Thanks! RE: Making credits WHEN LEAVING a .map file - Statyk - 01-16-2012 (01-16-2012, 09:26 PM)oscar1007 Wrote: Hi!Make the player unable to touch/use the door using: SetEntityInteractionDisabled("LEVELDOORNAME", true); Then place a script area around the door. Go into the entity tab of the area on the right and make a callback function for "PlayerInteractCallback" to end the game. RE: Making credits WHEN LEAVING a .map file - RawkBandMan - 01-16-2012 Couldn't you just write the StartCredits function in the OnLeave() section of the hps? RE: Making credits WHEN LEAVING a .map file - oscar1007 - 01-16-2012 (01-16-2012, 11:02 PM)XxRoCkBaNdMaNxX Wrote: Couldn't you just write the StartCredits function in the OnLeave() section of the hps?No because i have other doors leading to other maps in the room. But i have solved it. I started the credits in the same function when you unlock the door! ![]() |