|
| 18 Apr 2012 02:59 PM |
| I'm trying to check if the torso's position is between two numbers, but the output says trying to compare a number to a boolean: if not (pos.y - 1 < pos.y < pos.y + 1) then |
|
|
| Report Abuse |
|
|
L2000
|
  |
| Joined: 03 Apr 2008 |
| Total Posts: 77448 |
|
|
| 18 Apr 2012 03:04 PM |
| if torsoPos > minPos and torsoPos < maxPos then |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2012 03:07 PM |
| Thanks. Gah, Lua is simpler than Java in ever shape and form... why didn't they make it that simple? |
|
|
| Report Abuse |
|
|