• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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