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
[HELP] Scripting Cranks
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: [HELP] Scripting Cranks

SetEntityConnectionStateChangeCallback(string& wheelName, string& callback);

The parameters for the callback function are (string &in entity, int state). You'll have to fiddle with it to see which direction you turn the wheel/crank corresponds to which state. I believe -1 is min, 0 is middle and 1 is max.

12-12-2011, 01:05 AM
Find


Messages In This Thread
[HELP] Scripting Cranks - by Victor - 12-11-2011, 07:37 PM
RE: [HELP] Scripting Cranks - by palistov - 12-12-2011, 01:05 AM



Users browsing this thread: 1 Guest(s)