Horror Event Wont work... - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Horror Event Wont work... (/thread-14480.html) |
RE: Horror Event Wont work... - JetlinerX - 04-04-2012 I dont think you need this, but do you have an OnLeave ()? RE: Horror Event Wont work... - jessehmusic - 04-04-2012 Gonna try , __________ Didnt work :S RE: Horror Event Wont work... - JetlinerX - 04-04-2012 I assume you have tried restarting Amnesia since you tried these things? Sometimes the game is weird like that. RE: Horror Event Wont work... - jessehmusic - 04-04-2012 (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 RE: Horror Event Wont work... - JetlinerX - 04-04-2012 Restart your game, 9 times out of 10 that works for me. RE: Horror Event Wont work... - jessehmusic - 04-04-2012 (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... RE: Horror Event Wont work... - JetlinerX - 04-04-2012 Check the name first, though I assume you have. RE: Horror Event Wont work... - jessehmusic - 04-04-2012 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); } RE: Horror Event Wont work... - JetlinerX - 04-04-2012 ...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. RE: Horror Event Wont work... - flamez3 - 04-04-2012 Don't exactly know if this is settled but you have false instead of true in SetEntityActive("Horror_Barrel_1", false); c: |