Set Entity active for areas? - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Set Entity active for areas? (/thread-4680.html) |
Set Entity active for areas? - Soon - 09-23-2010 I noticed that you can have areas start as disabled. Would there be a way to activate them once a player picks up a certain item? I was looking for a SetAreaActive function but I only saw a SetEntityActive, would that work instead? RE: Set Entity active for areas? - theDARKW0LF - 09-23-2010 Hehe, I have a post on the exact thing a few threads down the forum. Doesn't seem like many people know, I haven't gotten a response and I posted mine hours ago. RE: Set Entity active for areas? - Soon - 09-23-2010 On a side note... I've been gettin this weird error and I don't see a problem with my code. It says unexpected file ending as the error. It doesn't give me the error when I take out a bit of code that's not even at the end. Does that mean there's too much code? Even if that were the case, my hps file is not even close to as big as one map in the actual game. So confused. Cancel that.. I'm an idiot, rofl. Sometimes those {} brackets seem like they're there when they're not... damn if statements! RE: Set Entity active for areas? - jens - 09-23-2010 You use setentityactive to set areas active RE: Set Entity active for areas? - Soon - 09-23-2010 Thanks! This will save me time knowing that it will work before doing it. RE: Set Entity active for areas? - Pandemoneus - 09-23-2010 Yeah, but look at what I wrote in theDARKW0LF's thread: http://www.frictionalgames.com/forum/thread-4499-post-37756.html#pid37756 |