![]() |
How do you activate an entity after interacting with a door. - 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: How do you activate an entity after interacting with a door. (/thread-18904.html) |
How do you activate an entity after interacting with a door. - MrDosht - 10-23-2012 Just a quick question. I was wondering if it was possible to set something from inactive to active when you open a door. Is there any way to do this or do i have to set an area and use a PlayerCollide thing?Thanks in advance for any advice! RE: How do you activate an entity after interacting with a door. - The chaser - 10-23-2012 This is development articles. In here there's surely a thread where someone explains you how to do it. Post in development suppport, please. Of course it's possible. It should be like this: SetEntityPlayerInteractCallback("Door", "func1", true); void func1(string &in asEntity) { SetEntityActive("Whateva", true); } RE: How do you activate an entity after interacting with a door. - MrDosht - 10-23-2012 (10-23-2012, 09:16 PM)The chaser Wrote: This is development articles. In here there's surely a thread where someone explains you how to do it.Oops, sorry wrong place! Thought I was still in development support. |