Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help on script!
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#1
Need help on script!

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.


Attached Files
.jpg   machinery.jpg (Size: 211.62 KB / Downloads: 121)

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
(This post was last modified: 03-18-2013, 03:02 PM by VeNoMzTeamHysterical.)
03-17-2013, 07:32 PM
Website Find
Akos115 Offline
Member

Posts: 101
Threads: 14
Joined: Aug 2012
Reputation: 0
#2
RE: Need help on script!

It's SetEntityActive btw. >.<

(This post was last modified: 03-17-2013, 08:21 PM by Akos115.)
03-17-2013, 08:21 PM
Find
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#3
RE: Need help on script!

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

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
03-18-2013, 06:54 AM
Website Find




Users browsing this thread: 1 Guest(s)