Frictional Games Forum (read-only)

Full Version: GiveSanityBoostSmall not giving any effect.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, I have a problem that has never occured before which I would like to fix.

GiveSanityBoostSmall(); is not working unless I put SetPlayerSanity(99 or lower); in the OnStart as a start-up setting.


GiveSanityBoostSmall(); has always been working for me whether or not the player currently has 100% sanity.


Do any of you know what's causing this?

NOTE: This is for the first sanityboost for the entire Custom Story itself, therefore this is a huge problem since I can't keep putting SetPlayerSanity(99); then a Sanityboost in every part of the script.
If the player's sanity is at max, the blue screen effect/ sound won't occur for the sanity boost.
andyrockin123 is correct, and shouldn't that be in the Dev. Support forum. O_o