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

NEED HELP REVIVING CREEPS AND MAKING PORTALS TELEPORT U

Status
Not open for further replies.
Level 32
Joined
Oct 23, 2006
Messages
5,291
To respawn creeps, add a trigger to your map:

Respawn Creeps
Events
Unit - A unit owned by Neutral Hostile Dies
Conditions
Actions
Wait 60.00 seconds
Unit - Replace (Triggering unit) with a (Unit-type of (Triggering unit)) using The new unit's max life and mana

You can also add a condition if you wanted only certain creep types to respawn:

Conditions
(Unit-type of (Triggering unit)) Equal to Bandit


To ensure that Way Gates function properly:

1) Add a Way Gate to the map.
2) Create a destination region with the region palette.
3) Return to the unit palette and edit the Gate’s unit properties by double-clicking it.
4) Check the box: Way Gate Active.
5) Select the destination region.

waygateta5.jpg


If so desired, you can also change the Active/Inactive status and destination regions of your gates with triggers, for example:

Disable Way Gate
Events
Unit - Gatekeeper 0004 <gen> Dies
Conditions
Actions
Trigger - Turn off (This trigger)
Neutral Building - Disable Way Gate 0002 <gen>

Enable Way Gate Using Key
Events
Unit - A unit comes within 256.00 of Way Gate 0003 <gen>
Conditions
(Item carried by (Triggering unit) of type Way Gate Key) Equal to Way Gate Key 0005 <gen>
Actions
Trigger - Turn off (This trigger)
Neutral Building - Enable Way Gate 0003 <gen>
Neutral Building - Set Way Gate 0003 <gen> destination to (Center of 003 Treasure Vault <gen>)

There are countless variations of these simple triggers, just experiment with them until they meet your requirements.
 
Status
Not open for further replies.
Top