• 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.

Tigger unit comes within range of unit

Status
Not open for further replies.
Level 12
Joined
Jul 17, 2013
Messages
544
.So i want to make tigger like a units comes with range xx of unit of kind shipyard.I mean i dont want targeted unit to be single unit for example shiypard 001 i want it to be all shipyards on map
 
Level 12
Joined
Jul 17, 2013
Messages
544
The best that I can do.Hope this helps.
  • Bleh
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units of type Your Shipyard) and do (Actions)
        • Loop - Actions
          • Set Picked = (Picked unit)
          • Unit Group - Pick every unit in (Units within xxx.xx of (Position of Picked)) and do (Actions)
            • Loop - Actions
              • -------- --- Actions --- --------
i need also 3 or 2 conditions for it so will it work if i make conditions in conditions? conditions are shipyard is controled by allied player i meant player that sends unit to shipyard must be ally to player that controls shipyard also.
i also want that unit to die when its near shipyard and to give bounty to allied player
 
Status
Not open for further replies.
Top