[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: 54
Status
Not open for further replies.
Top