The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
#1
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
Find


Messages In This Thread
GiveSanityBoostSmall not giving any effect. - by pontusry - 05-14-2012, 11:58 PM



Users browsing this thread: 1 Guest(s)