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
Phonograph
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#2
RE: Phonograph

I think you will want to use a State Change script instead, such as:

void SetEntityConnectionStateChangeCallback(string& asName, string& asCallback);



A callback called when ever the connection state changes (button being switched on, lever switched, etc).


Callback syntax: void Func(string &in asEntity, int alState)


alState: -1 = off, 0 = between, 1 = on

06-07-2012, 02:03 AM
Find


Messages In This Thread
Phonograph - by TheIcyPickle - 06-07-2012, 01:55 AM
RE: Phonograph - by Damascus - 06-07-2012, 02:03 AM
RE: Phonograph - by TheIcyPickle - 06-07-2012, 02:08 AM
RE: Phonograph - by Adny - 06-07-2012, 03:17 AM
RE: Phonograph - by TheIcyPickle - 06-07-2012, 03:48 AM
RE: Phonograph - by FragdaddyXXL - 06-07-2012, 06:09 AM
RE: Phonograph - by TheIcyPickle - 06-07-2012, 08:31 PM



Users browsing this thread: 1 Guest(s)