Frictional Games Forum (read-only)

Full Version: Horror Event Wont work...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I dont think you need this, but do you have an OnLeave ()?
Gonna try ,
__________
Didnt work :S
I assume you have tried restarting Amnesia since you tried these things? Sometimes the game is weird like that.
(04-04-2012, 04:00 PM)JetlinerX Wrote: [ -> ]I assume you have tried restarting Amnesia since you tried these things? Sometimes the game is weird like that.
Hmm i made Reload map
Restart your game, 9 times out of 10 that works for me.
(04-04-2012, 04:00 PM)JetlinerX Wrote: [ -> ]I assume you have tried restarting Amnesia since you tried these things? Sometimes the game is weird like that.
got the sound to work , but the entity wont spawn...
Check the name first, though I assume you have.

void HorrorBarrel(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("Horror_Barrel_1", false);
PlaySoundAtEntity("Horror_Barrel_1", "24_iron_maiden.snt", "Player", 0, false);
}
...Yeah, check and make sure the barrel is named "Horror_Barrel_1" and in any case, you should avoid numbers, and underscores in names, so try to name it "HorrorBarrel" and make sure all the names match up still.
Don't exactly know if this is settled but you have false instead of true in SetEntityActive("Horror_Barrel_1", false); c:
Pages: 1 2 3