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
Horror Event Wont work...
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#1
Horror Event Wont work...

Hello my event with scare wont work dont know why any clue hps-->


void OnStart()
{
AddUseItemCallback("", "hollow_needle_1", "Locked_door", "NeedleOnDoor", true);
AddEntityCollideCallback("Player", "Horror_Barrel", "Horror_Barrel_Event", true, 1);
}
void NeedleOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Locked_door", false, true);
PlaySoundAtEntity("", "unlock_door", "Locked_door", 0, false);
RemoveItem("hollow_needle_1");
}
void Horror_Barrel_Event(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("Horror_Barrel", false);
PlaySoundAtEntity("Horror_Barrel", "24_iron_maiden.snt", "Player", 0, false);
}

void OnEnter()
{
AddEntityCollideCallback("Player", "MusicStart_1", "Music1", true, 1);
}

void Music1(string &in asParent, string &in asChild, int alState)
{
PlayMusic("ambience_voice.ogg", true, 0.8f, 1, 0, true);
}

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
(This post was last modified: 04-04-2012, 04:23 PM by jessehmusic.)
04-04-2012, 09:16 AM
Website Find


Messages In This Thread
Horror Event Wont work... - by jessehmusic - 04-04-2012, 09:16 AM
RE: Horror Event Wont work... - by flamez3 - 04-04-2012, 09:33 AM
RE: Horror Event Wont work... - by Cranky Old Man - 04-04-2012, 09:45 AM
RE: Horror Event Wont work... - by jessehmusic - 04-04-2012, 03:33 PM
RE: Horror Event Wont work... - by JetlinerX - 04-04-2012, 03:37 PM
RE: Horror Event Wont work... - by jessehmusic - 04-04-2012, 03:41 PM
RE: Horror Event Wont work... - by JetlinerX - 04-04-2012, 03:43 PM
RE: Horror Event Wont work... - by jessehmusic - 04-04-2012, 03:44 PM
RE: Horror Event Wont work... - by JetlinerX - 04-04-2012, 03:50 PM
RE: Horror Event Wont work... - by jessehmusic - 04-04-2012, 03:52 PM
RE: Horror Event Wont work... - by JetlinerX - 04-04-2012, 03:54 PM
RE: Horror Event Wont work... - by jessehmusic - 04-04-2012, 03:55 PM
RE: Horror Event Wont work... - by JetlinerX - 04-04-2012, 04:00 PM
RE: Horror Event Wont work... - by jessehmusic - 04-04-2012, 04:01 PM
RE: Horror Event Wont work... - by jessehmusic - 04-04-2012, 04:03 PM
RE: Horror Event Wont work... - by JetlinerX - 04-04-2012, 04:02 PM
RE: Horror Event Wont work... - by JetlinerX - 04-04-2012, 04:07 PM
RE: Horror Event Wont work... - by jessehmusic - 04-04-2012, 04:09 PM
RE: Horror Event Wont work... - by JetlinerX - 04-04-2012, 04:13 PM
RE: Horror Event Wont work... - by flamez3 - 04-04-2012, 11:05 PM
RE: Horror Event Wont work... - by JetlinerX - 04-05-2012, 02:44 PM



Users browsing this thread: 1 Guest(s)