• 🏆 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!

Merging and Unmerging Unit Waypoints

Status
Not open for further replies.
Level 4
Joined
Aug 17, 2011
Messages
119
I want to merge two creep waves (to attack gates) and then unmerge them again afterwards.

At the moment I'm adding them to a unit group (Left/Right) as they leave their lane. Then they are sent back to their own lane (and removed from the unit group) after the gate is destroyed with multiple if/then/else. I am currently just doing this with this action:

  • Actions
    • UnitGroup - Add (Triggering Unit) to Left_Temp
  • Actions
    • UnitGroup - Remove (Triggering Unit) from Left_Temp
It works well enough, but I am uncertain about leaks... Any Suggestions?
 
Status
Not open for further replies.
Top