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
Script Help Player doesn't drain sanity from darkness
TheGreatCthulhu Offline
Member

Posts: 213
Threads: 10
Joined: Oct 2010
Reputation: 32
#2
RE: Player doesn't drain sanity from darkness

If you're asking how to disable sanity draining from the darkness, just call the SetSanityDrainDisabled() function from OnEnter():

PHP Code: (Select All)
void OnEnter()
{
    
SetSanityDrainDisabled(true);

    
// other stuff may go here...

(This post was last modified: 01-21-2013, 10:53 AM by TheGreatCthulhu.)
01-21-2013, 10:53 AM
Find


Messages In This Thread
RE: Player doesn't drain sanity from darkness - by TheGreatCthulhu - 01-21-2013, 10:53 AM



Users browsing this thread: 1 Guest(s)