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

???

Status
Not open for further replies.
Level 2
Joined
Jun 21, 2008
Messages
10
How do I turn a unit in to a hero and how do I make a trigger that kill's a building after 5 min's? And how do I make spawned unit's attack a gate?
 
Level 14
Joined
Nov 18, 2007
Messages
1,084
1. Make a custom unit based off a real hero and then edit it to make it look like a regular unit.

2. You could add an expiration timer to the building after it gets created by using
  • Unit - Add a 300.00 second Generic expiration timer to (Last created unit)
If the building is already on the map, you could use Unit Group - Pick every unit in (Units in (Playable map area) matching
  • ((Unit-type of (Matching unit)) Equal to YourBuildingType)) and do (Actions)
    • Loop - Actions
      • Unit - Add a 300.00 second Generic expiration timer to (Picked unit)
(YourBuildingType refers the unit-type of the building you want to die after 5 minutes.


3.
  • Unit - Order (Last created unit) to Attack (GATE)
(Replace GATE with the destructible of the gate you want the unit to be attacked. You should also put this action after the unit gets spawned)
 
Status
Not open for further replies.
Top