| 05-30-2006, 08:36 PM | #2 |
Set TempInt = 1 For each integer 2 to 6 Loop If: vote[TempInt] < vote[integer A] Then: Set TempInt = integer A Else: This would end up with TempInt being the number of the one with the highest (in the event of a draw, the lowest drawing number would be taken). |
| 05-30-2006, 09:10 PM | #3 |
sorry i didnt understand that was it JASS? i think i figured it out is this ok? i took the long way round it |
| 05-31-2006, 10:16 AM | #5 | |
Quote:
No, of course it wasn't in JASS. While it wasn't exactly as it would be in GUI, it was more than enough for you to copy (you do know that '>' means 'greater than'?) Also, your way won't work, as it uses 'or', rather than 'and'. Soulprovider - while not very significant in a kick trigger, your triggers leak quite a bit, and also aren't what he was looking for. |
