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
Script Help Piano/Lever Triggers Script
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#2
RE: Piano/Lever Triggers Script

Use SetEntityConnectionStateChangeCallback(string& asName, string& asCallback) in stead of SetMultiSliderCallback. The piano entity is of type Lever, so it should work. You'll also need to change this line:
PHP Code: (Select All)
void Script_BadVision(string &in asParentstring &in asChildint alState
to:
PHP Code: (Select All)
void Script_BadVision(string asEntityint alState
for it to work.

In Ruins [WIP]
(This post was last modified: 03-05-2013, 02:05 AM by NaxEla.)
03-05-2013, 02:04 AM
Find


Messages In This Thread
Piano/Lever Triggers Script - by CarnivorousJelly - 03-05-2013, 12:09 AM
RE: Piano/Lever Triggers Script - by NaxEla - 03-05-2013, 02:04 AM
RE: Piano/Lever Triggers Script - by NaxEla - 03-05-2013, 11:54 PM



Users browsing this thread: 1 Guest(s)