• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

lua command

  1. yxq1122

    How to append an ability to the ability list of an unit using Lua ObjectMerger

    Hi, everyone! I used the following Lua commands when I tried to append an ability 'A001' to the ability list of an unit "h005": //! i makechange(current, "uabi", "A001") However, that command doesn't work. All abilities of the unit will be replaced by the single 'A001'. Actually, I Just hope to...
  2. yxq1122

    Getting help on using ObjectMerger

    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: //! externalblock extension=lua ObjectMerger $FILENAME$ //! i setobjecttype("units") //! i createobject("hmpr", "h005") //! i makechange(current...
Top