• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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,182
  • 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