[SCRIPT] Player doesn't drain sanity from darkness - 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] Player doesn't drain sanity from darkness (/thread-20008.html) Pages:
1
2
|
RE: Player doesn't drain sanity from darkness - FlawlessHappiness - 01-23-2013 SetSanityDrainDisabled(true); Other people have been helped by this function. Did you try it? I understand what you want. This function should stop the sanity from draining in darkness RE: Player doesn't drain sanity from darkness - No Author - 01-24-2013 The function works. But there's a bug or something, when I quit to main menu to play other CS, I didn't drain any sanity from the darkness and I just play the whole CS without draining sanity. When I quit the game to my desktop and play at the CS again, I could drain sanity from darkness. Is it a bug or something ? RE: Player doesn't drain sanity from darkness - Your Computer - 01-24-2013 (01-24-2013, 03:24 AM)TheNoAuthor12 Wrote: Is it a bug or something ? Depends. What map did you use the function in and which map are you loading when you start the story? Putting SetSanityDrainDisabled in global.hps would be a better spot. RE: Player doesn't drain sanity from darkness - No Author - 01-24-2013 It works now. Thanks |