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

HIVE

deepstrasz
deepstrasz
I mean, I could potentially make a trigger that verifies the interceptors entering the playable map and add +1 to an integer then index unit (that integer array) but how will that work within loops concerning both the interceptors and the carrier?

If I use the new interceptor index I mentioned above in all the loops as the last integer in the loop action (from 1 to interceptor index), will that not create problems related to the number of carriers which would be 2 if there are 16 interceptors on the map?
deepstrasz
deepstrasz
Or you're saying that I can use the group the interceptors are in as conditions within a loop and then use triggering unit to do the action, but will that include all interceptors in a group individually? I mean, will that triggering unit become the next unit in the loop as the unit would have an array?
deepstrasz
deepstrasz
But then how will I verify the number of the carriers, without an integer with an array but conditioning the number in their group array?
deepstrasz
deepstrasz
Alright, I solved the indexing part. Now, to see if the loops pertaining the scarabs work like I mentioned above just by conditioning the units in their group.
deepstrasz
deepstrasz
Hey, it seems to work, just with unit is in group and triggering unit!
Top