hi lads! i want to obtain the kill count of a unit and use it to modify this unit's properties. i tried creating a global variable but could not link it with a unit's kill count, would u help me with this?
hi i think u can fetch this kill count value from every unit but it would be useless to obtain kill count from a not armed unit. ( i'm not so sure about what did u mean by "turned on". After some experiment, i found that the kill count of a unit used as a global variable without being included in any event DID NOT work when i used it as a condition in another event. but when i defined this kill count value inside an event as a local variable, it worked well. so maybe there is something u need to "turn on" this value when it is used as a global variable )
there are other values like the owner of unit, the property of unit etc, hope u can find something useful :)
hi lads! i want to obtain the kill count of a unit and use it to modify this unit's properties. i tried creating a global variable but could not link it with a unit's kill count, would u help me with this?
its under "unit" called "unit kills"
@Molsterr: Go
i finally found it! thank u so much for the help!
@elninolol: Go
Does Every Unit have this value on it. (does it need to be turned on for the unit in the data editor)
What other counts do the units themselvs track?
@SouLCarveRR: Go
hi i think u can fetch this kill count value from every unit but it would be useless to obtain kill count from a not armed unit. ( i'm not so sure about what did u mean by "turned on". After some experiment, i found that the kill count of a unit used as a global variable without being included in any event DID NOT work when i used it as a condition in another event. but when i defined this kill count value inside an event as a local variable, it worked well. so maybe there is something u need to "turn on" this value when it is used as a global variable ) there are other values like the owner of unit, the property of unit etc, hope u can find something useful :)
@SouLCarveRR: Go
all unites have a kill count =D (that ive seen...and...ive seen them all so =P )