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
Valve help
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#3
RE: Valve help

State Change is what you are looking for.
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 EntityName, int alState)
alState: -1 = off, 0 = between, 1 = on

07-05-2011, 01:49 AM
Website Find


Messages In This Thread
Valve help - by Henriksen - 07-01-2011, 11:57 AM
RE: Valve help - by Henriksen - 07-03-2011, 03:15 AM
RE: Valve help - by Tanshaydar - 07-05-2011, 01:49 AM
RE: Valve help - by Henriksen - 07-05-2011, 10:33 AM
RE: Valve help - by H. Filipe - 07-08-2011, 01:04 PM



Users browsing this thread: 1 Guest(s)