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
#6
RE: Horror Event Wont work...

(04-04-2012, 03:37 PM)JetlinerX Wrote: FYI - OnStart () and OnEnter () are the same. You have two of them. Try this:

PS: I HIGHLY suggest removing the over played jumpscare you have in here...

void OnStart()
{
AddUseItemCallback("", "hollow_needle_1", "Locked_door", "NeedleOnDoor", true);
AddEntityCollideCallback("Player", "Horror_Barrel", "Horror_Barrel_Event", true, 1);
AddEntityCollideCallback("Player", "MusicStart_1", "Music1", 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 Music1(string &in asParent, string &in asChild, int alState)

{
PlayMusic("ambience_voice.ogg", true, 0.8f, 1, 0, true);
}
Dosnt work :/ Still same prob



http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-04-2012, 03:41 PM
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: 2 Guest(s)