- Joined
- Jan 23, 2007
- Messages
- 1,302
Hello, im haveing a wierd bug where Red(player1) gets extra kills on his leaderboard, every time a unit owned by him dies Via negative hp regeneration/dummy he gets an extra kill on his score, this ofcourse dosnt update the leaderboard but it does update the variable, so that next time i actually kill a unit i get 10 or so kills, depending on how many dummys die.
I have no other kills dealing with this variable yet it continues to add to the variable. Here is the trig
I have no other kills dealing with this variable yet it continues to add to the variable. Here is the trig
-
Update Leaderboard
-
Events
- Unit - A unit Dies
-
Conditions
- (Unit-type of (Dying unit)) Not equal to Attack spell
- (Unit-type of (Dying unit)) Not equal to Building Rally
- (Unit-type of (Dying unit)) Not equal to Mass attack dot
- (Unit-type of (Dying unit)) Not equal to Move spell
- (Unit-type of (Dying unit)) Not equal to Relay spell
- (Owner of (Dying unit)) Not equal to (Owner of (Killing unit))
-
Actions
- Set KillScore[(Player number of (Owner of (Killing unit)))] = (KillScore[(Player number of (Owner of (Killing unit)))] + 1)
- Leaderboard - Change the value for (Owner of (Killing unit)) in kills to KillScore[(Player number of (Owner of (Killing unit)))]
- Leaderboard - Sort kills by Value in Descending order
-
Events