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
CarnivorousJelly Offline
Posting Freak

Posts: 1,196
Threads: 41
Joined: Dec 2012
Reputation: 80
#3
RE: Piano/Lever Triggers Script

(03-05-2013, 02:04 AM)NaxEla Wrote: 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.

Works perfectly! Thank you Big Grin

[Image: quote_by_rueppells_fox-d9ciupp.png]
03-05-2013, 11:00 PM
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 CarnivorousJelly - 03-05-2013, 11:00 PM
RE: Piano/Lever Triggers Script - by NaxEla - 03-05-2013, 11:54 PM



Users browsing this thread: 1 Guest(s)