- Joined
- Oct 9, 2015
- Messages
- 721
Can anyone help telling me how I can obtain the value of a unit's attack range ?
You can create the list of all units (or for example create dummy ability and name it "600 aoe". If unit "600 aoe" greater than 0 that means its range is 600.Isn't there any other way, throught triggering or that do not involve the object editor ?
It's using distance between points, but then I would need the attack range value so the operation would become functional. I think that there's not really a effective and easy way of getting the attack range other than using hashtables or some woraround (like the point value in object editor, mentioned above). There was a thread on the lab that said it could be possible to read data from the object editor (here: Accessing memory from the script - it's time of the revolution ) but it would be even more difficult than building a hashtable.