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

rescue triggers

Status
Not open for further replies.
Level 5
Joined
Oct 16, 2009
Messages
137
Hello everyone, im currently making a map where one of the objectives is to gather people [rescuable], and bring them to a region to complete quest. i know how to make them rescuable but i need to know how to make them all rescued and all be in one region to complete quest. any suggestion would be most appreciated :thumbs_up:
 
Level 5
Joined
May 3, 2009
Messages
129
maybe somthing like this

  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 10, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Footman for Neutral Extra at (Center of (Playable map area)) facing Default building facing degrees
          • Unit Group - Add (Last created unit) to unitgroup
          • Unit - Make (Last created unit) Rescuable by (All players)
  • Untitled Trigger 002
    • Events
      • Unit - A unit enters Region 000 <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Footman
      • (Number of units in (Units in Region 000 <gen> matching ((Unit-type of (Matching unit)) Equal to Footman))) Equal to ((Number of units in unitgroup) - 1)
    • Actions
      • Quest - Display to (All players) the Quest Update message: you have all 10
 
Level 5
Joined
May 3, 2009
Messages
129
The trigger i just did does it for you without having to block the paths or wait to send them to the region.
they can go there 1 by 1 when you rescue them.
when 10 of them are there then the quest is complete.
 
Status
Not open for further replies.
Top