After looking at http://www.wc3campaigns.com/showpost.php?p=628033&postcount=33 and attempting to duplicate the
intArLeaderboard[(Player number of (Owner of (Killing unit)))] + 1)
part of the first action near the end I was un-able to figure out how to make the +1 outside the [] brackets in order to make it not affect the player number that the variable is tracking. So far, the best I was able to do is...
Set Trackingkills[(Player number of (Owner of (Killing unit)))] = Trackingkills[((Player number of (Owner of (Killing unit))) + 1)]
The problem of course being that in my trigger the +1 is still inside the [] brackets and is affecting the player number, or so it seemed to me as it didn't work when I tested it.
If someone could tell me how to get that +1 outside of the [] brackets that'd be superb. Thanks!
intArLeaderboard[(Player number of (Owner of (Killing unit)))] + 1)
part of the first action near the end I was un-able to figure out how to make the +1 outside the [] brackets in order to make it not affect the player number that the variable is tracking. So far, the best I was able to do is...
Set Trackingkills[(Player number of (Owner of (Killing unit)))] = Trackingkills[((Player number of (Owner of (Killing unit))) + 1)]
The problem of course being that in my trigger the +1 is still inside the [] brackets and is affecting the player number, or so it seemed to me as it didn't work when I tested it.
If someone could tell me how to get that +1 outside of the [] brackets that'd be superb. Thanks!