How can this be done?
If i could somehow give units in-editor names via triggers, this would be much easier...
(And btw, that's not a custom system of changing hp, and there's no way to associate this with hp cuz all 936 dummies are invulnerable)
Just make an UnitGroup variable and for every unit you need an association with you add them to the UnitGroup.
Later on, when you need to have all 936 of them, recall the variable.
So, I have 936 units created via triggers on init. And i need an integer value assotiated with each of them, for a trigger:
How can this be done? If i could somehow give units in-editor names via triggers, this would be much easier... (And btw, that's not a custom system of changing hp, and there's no way to associate this with hp cuz all 936 dummies are invulnerable)
Just make an UnitGroup variable and for every unit you need an association with you add them to the UnitGroup. Later on, when you need to have all 936 of them, recall the variable.
@MrGliath: Go
"Set Unit Custom Value" is what you're looking for perhaps? If not, go download GAx3 mod as it has a function to get a unit's unique handle.
@Enexy: Go
Never knew such a function exists, lol. Thx for saving my brain from melting)))
@FunBotan: Go
Welcome.