Frictional Games Forum (read-only)
Need help on script! - 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: Need help on script! (/thread-20801.html)



Need help on script! - VeNoMzTeamHysterical - 03-17-2013

Hey im working on a machine script and i wanna make it open a gate....
so i want actaully if elevator_machine_cog_main_1 moves it activates a func that does

AddEntityActive("safety_large_vert_3", true);
AddEntityActive("safety_large_vert_2", false);

So the gate is open.


RE: Need help on script! - Akos115 - 03-17-2013

It's SetEntityActive btw. >.<


RE: Need help on script! - VeNoMzTeamHysterical - 03-18-2013

(03-17-2013, 08:21 PM)Akos115 Wrote: It's SetEntityActive btw. >.<
Haha you're right im stupid...
Thanks.