![]() |
Activate Area? - 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: Activate Area? (/thread-12137.html) |
Activate Area? - Tripication - 12-28-2011 Hey guys, I was just wondering if there was any way to make and AREA activate on item pick up. E.g. Walk into room, pick up key(wich activates my last problem[Spawning a pile of bodies]), then walk out of SAME Doorway but this time with the Area ACTIVE so that when player collides, it forces him/her to look at the bodies that have just been activated. RE: Activate Area? - flamez3 - 12-28-2011 Make the area unactive in the lvl editor. Then use SetEntityActive("nameofscriptarea", true); RE: Activate Area? - Tripication - 12-28-2011 Oh my bad, i didn't realize that Areas were still considered as Entities. My bad RE: Activate Area? - SilentStriker - 12-28-2011 Or you can make the area so it only triggers when leaving the room ![]() ![]() |