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

[Trigger] Unit Group Array Strange Error

Status
Not open for further replies.
Level 4
Joined
Oct 20, 2011
Messages
129
Try this trigger and you'll get my problem.

  • Error
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Unit Group - Add Peasant 0001 <gen> to Group[2]
      • Game - Display to (All players) the text: (String((Number of units in Group[2])))
It shows that adding a unit into unit group array with index 2 doesn't work.
Sometime I need to add to group[2] before group[1]. Is there some script to fix that?
 
Last edited:
Status
Not open for further replies.
Top