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
Sanity problems
Bennick Offline
Member

Posts: 77
Threads: 27
Joined: Apr 2011
Reputation: 0
#1
Sanity problems

As mentioned in my earlier thread, I had a problem loading one of my maps. I found that if I deleted the GiveSanityBoost command however, that it would run fine. Am I not using the correct command or something?

I'll repost my script:

void OnStart()
{
FadeOut(0);
FadeIn(15);
PlayMusic("10_amb.ogg", true, 1, 3, 0, true);
PlaySoundAtEntity("", "door_level_wood_close.snt", "secretbookcase", 0, false);
GiveSanityBoost(80);
}

void OnEnter()
{
}

Am I using that command wrong or something? should I substitute it with another?

Fratricide (title not finalized): 2/7 maps. :D
08-31-2011, 03:21 AM
Find


Messages In This Thread
Sanity problems - by Bennick - 08-31-2011, 03:21 AM
RE: Sanity problems - by Kyle - 08-31-2011, 03:26 AM
RE: Sanity problems - by Bennick - 08-31-2011, 04:28 AM
RE: Sanity problems - by Your Computer - 08-31-2011, 06:40 AM



Users browsing this thread: 1 Guest(s)