• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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...