| 02-11-2007, 04:33 AM | #1 |
So i have a variable with an array... it is keeping track of how many Neutral Passive's the player has killed. the array keeps track of the player. So the idea is, after killing enough neutral passives, the player's hero is rewarded with an item. Problem is... well here is my approach! : Event:
Actions: ok so the PROBLEM is the Event is triggered by the death of the neutral passive... so in the trigger HE is the Triggering Unit. Now in the conditions i need to set a condition like Conditions:
See the problem though? the [(Player number of (Triggering player))] it's checking the Variables count, lets say 10, and checking it at the appropriate point of the array. FOR THE NEUTRAL PASSIVE. but i need it to check for the player! So... any ideas? Please help me out, or bump the thread. I am not a TOTAL noob, i know i can get this to work in some hackedup dirty manner, but i really would like to keep the triggers clean. I am sure this can be accomplished reaaaaally simply. Please help if you can! |
| 02-11-2007, 04:47 AM | #2 |
Player number of(Owning player of (Killing Unit)) |
