MadSanity
|
  |
| Joined: 13 Nov 2009 |
| Total Posts: 41506 |
|
|
| 02 Mar 2017 01:00 PM |
I've proven the parameters are met in the if/elseif statements with each string/number value, but it won't work and it won't come out with an error.
pastebin
/bqyAcppu |
|
|
| Report Abuse |
|
|
MadSanity
|
  |
| Joined: 13 Nov 2009 |
| Total Posts: 41506 |
|
| |
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 02 Mar 2017 02:22 PM |
| Can't really tell what the error is if there's no indication. Run through it with print()'s, see where it stops working. |
|
|
| Report Abuse |
|
|
MadSanity
|
  |
| Joined: 13 Nov 2009 |
| Total Posts: 41506 |
|
|
| 02 Mar 2017 03:06 PM |
| Oh wait, I just got the issue. I didn't put an if statement under the onTouched function to filter out other instances of "hit", therefore it played prematurely. |
|
|
| Report Abuse |
|
|
MadSanity
|
  |
| Joined: 13 Nov 2009 |
| Total Posts: 41506 |
|
|
| 02 Mar 2017 03:29 PM |
| Wait, nevermind, the if and elseif statements are not responding at all. |
|
|
| Report Abuse |
|
|