• 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] Help with bunker system

Status
Not open for further replies.
Level 12
Joined
Mar 24, 2011
Messages
1,082
Hi :) I got stuck up with a future of my bunker system which I can't make to work and I don't know where the problem is from... Can you help me ?

  • Atack
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Atack !
    • Actions
      • Set TempUnit = (Casting unit)
      • Set TempUnit2 = (Target unit of ability being cast)
      • -------- Setting the custom value of the bunker --------
      • Set TempInteger = (Custom value of TempUnit)
      • -------- Picking all the units in the bunker and ordering them to atack --------
      • Unit Group - Pick every unit in BunkerUnitGroup[TempInteger] and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Attack TempUnit2
And the map atached
 

Attachments

  • BunkerSystem vB4.w3x
    36 KB · Views: 53
Status
Not open for further replies.
Top