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
What's wrong with script?
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#1
What's wrong with script?

Script:
void Onstart()
{AddEntityCollideCallback("Player", "ScareOne", "ScareOne", true, 1);}
void ScareOne(string &in asParent, string &in asChild, int alState){SetLampLit("ScareOneLight", true, true);SetLampLit("ScareOneLightTwo", true, true);SetEntityActive("ScareOneMonster", true);ShowEnemyPlayerPosition("ScareOneMonster");PlaySoundAtEntity("", "react_scare3.ogg", "Player", 10.0f, true);PlayMusic("LevelOneMusic", true, 10.0f, 2.0f, 2.0f, true);}
void OnEnter(){}void OnLeave(){}
Custom Story Settings:
Lang file:
                        That's it then. You've commited murder and you've been sent to prison for life. You've become deranged, and insane for the time you've been in there.[br]You want to find a way out anyway you can. Even if it includes bloodshed.[br]You need to get out.


What's wrong with this, when I walk into the area stated, it doesn't activate

:Work In Progress:
Insanity
(This post was last modified: 10-14-2011, 09:16 PM by JoeBradleyUK.)
10-14-2011, 08:48 PM
Find


Messages In This Thread
What's wrong with script? - by JoeBradleyUK - 10-14-2011, 08:48 PM
RE: What's wrong with this? - by Elven - 10-14-2011, 08:57 PM
RE: What's wrong with this? - by JoeBradleyUK - 10-14-2011, 09:01 PM
RE: What's wrong with this? - by Juby - 10-14-2011, 09:03 PM
RE: What's wrong with this? - by JoeBradleyUK - 10-14-2011, 09:05 PM
RE: What's wrong with script? - by Your Computer - 10-14-2011, 09:12 PM
RE: What's wrong with script? - by JoeBradleyUK - 10-14-2011, 09:16 PM
RE: What's wrong with script? - by Elven - 10-14-2011, 10:13 PM



Users browsing this thread: 2 Guest(s)