• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[vJASS] Help Making a MUI with 2 abilities

Status
Not open for further replies.
Level 2
Joined
May 1, 2022
Messages
4
Ability 1 create a unit, replacing old one
Ability 2 heal the last unit created with ability 1

Can this be possible with hashtable or structs and do you have any samples, thanks for helping
 
Level 39
Joined
Feb 27, 2007
Messages
5,027
So a summon and then a spell that only works on that summoned unit? Yes.

You either attach a data struct to a unit when it summons the other unit, or store all units that can summon and their pets in a set of parallel arrays. What coding language do use?
 
Status
Not open for further replies.
Top