| View previous topic :: View next topic |
| Author |
Message |
soulphalanx
Joined: 22 Aug 2005 Posts: 35
|
Posted: Sat Sep 17, 2005 8:30 am Post subject: Array problem |
|
|
| is there a way to check if an array has all 0's? |
|
| Back to top |
|
 |
apache37
Joined: 04 Jun 2004 Posts: 76
|
Posted: Sat Sep 17, 2005 9:58 am Post subject: |
|
|
| Yup.. Loop through the elements and break out when any of them are > 1. I don't know if LUA has a special command if that's what you're asking. |
|
| Back to top |
|
 |
|