Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GiveSanityBoostSmall not giving any effect.
pontusry Offline
Junior Member

Posts: 29
Threads: 10
Joined: Apr 2012
Reputation: 0
GiveSanityBoostSmall not giving any effect.

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 you can't explain it simply, you don't know it well enough.
(This post was last modified: 05-15-2012, 12:03 AM by pontusry.)
05-14-2012, 11:58 PM
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
RE: GiveSanityBoostSmall not giving any effect.

If the player's sanity is at max, the blue screen effect/ sound won't occur for the sanity boost.
05-15-2012, 12:13 AM
Putmalk Offline
Senior Member

Posts: 290
Threads: 13
Joined: Apr 2012
Reputation: 15
RE: GiveSanityBoostSmall not giving any effect.

andyrockin123 is correct, and shouldn't that be in the Dev. Support forum. O_o

05-18-2012, 03:23 AM

Users browsing this thread: 1 Guest(s)