- Joined
- Jun 5, 2018
- Messages
- 188
Hello everyone!
The original ability list of an unit will be replaced by a single value of "A001" when I use the following Object Merger Lua command:
Actually, I hope the ability "A001" could be appended into the original list of unit's abilities. Unfortunately, I will get a single one of "A001" that will replace the original ability list of the unit. I also checked the manual of Grimex which says that the Object Merger has the "Merge mode" by default. I really get confused. I don't know how to get it work properly to append an ability into the ability list of an unit.
I would be very grateful if someone could help me.
The original ability list of an unit will be replaced by a single value of "A001" when I use the following Object Merger Lua command:
vJASS:
//! externalblock extension=lua ObjectMerger $FILENAME$
//! i setobjecttype("units")
//! i createobject("hmpr", "h005")
//! i makechange(current, "uabi", "A001")
//! endexternalblock
Actually, I hope the ability "A001" could be appended into the original list of unit's abilities. Unfortunately, I will get a single one of "A001" that will replace the original ability list of the unit. I also checked the manual of Grimex which says that the Object Merger has the "Merge mode" by default. I really get confused. I don't know how to get it work properly to append an ability into the ability list of an unit.
I would be very grateful if someone could help me.