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 (Solved) GetPropIsInteractedWith not working?
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#4
RE: GetPropIsInteractedWith not working?

where's Distance declared?
Debug it all, check each value. I'd start with this:
PHP Code: (Select All)
(Speed >= 0.25f && GetPropIsInteractedWith(asParent)) 
Try without those conditions. If it works, try using the conditions separated, like:
PHP Code: (Select All)
boolean a = (Speed >= 0.5f);
boolean b = (GetPropIsInteractedWith(asParent));

if ( 
&& ) { playmusic... } 

08-21-2015, 06:18 PM
Find


Messages In This Thread
RE: GetPropIsInteractedWith not working? - by Daemian - 08-21-2015, 06:18 PM



Users browsing this thread: 4 Guest(s)