• 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

Status
Not open for further replies.
Level 9
Joined
Feb 20, 2014
Messages
409
Well,I named a unit "duel1"
This unit appears when I write "duel1" in the chat.
I want to do the quest "When duel1 is dead " I have a reward or something like this.
But in the event "A UNIT DIES" I can't select "duel1" so the quest can't be completed.
What I have to do to be able to select "duel1" in the event?
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
  • Untitled Trigger 001
    • Events
      • Player - Player 1 (Red) types a chat message containing duel1 as An exact match
    • Conditions
    • Actions
      • Set SomeLocationVariable = (Center of (Playable map area))
      • Unit - Create 1 Footman for Player 1 (Red) at SomeLocationVariable facing Default building facing degrees
      • Set duel1_unit = (Last created unit)
      • -------- This is not needed, but recomended --------
      • Custom script: call RemoveLocation(udg_SomeLocationVariable)
  • Untitled Trigger 002
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Triggering unit) Equal to duel1_unit
    • Actions
      • -------- reward the player here --------
 
Status
Not open for further replies.
Top