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

how to show mesages on killing?

Status
Not open for further replies.
Level 6
Joined
Jul 26, 2010
Messages
167
somebody pls tell me how to make to show mesages each time my unit kills...
I know killing unit is returning null but I srsly dont know what to do

  • trig1
  • Acontecimientos
  • Tiempo - Every 5.00 seconds of game time
  • Condiciones
  • Acciones
  • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
  • Si: Condiciones
  • MovingUnit Igual a (==) (Killing unit)
  • Entonces: Acciones
  • Partida - Display to (All players) the text: 10
  • Otros: Acciones
  • Partida - Display to (All players) the text: ...
wc3 in spanish sorry :/
 
Level 23
Joined
Oct 20, 2012
Messages
3,075
  • Event
    • a Unit Dies
  • Condition
  • Actions
  • If then ELse..
    • Condition:
      • killing unit equal to moving unit
    • Then
      • Display to (All players) the text: 10
    • Else
      • Display to (All players) the text: ...
If I understood correctly, that should do the job..

(BTW, I think I've seen another thread like this.. With a lot of good answers)
 
Level 16
Joined
Mar 27, 2011
Messages
1,349
Edit: I was typing this up when Juno answered :/

  • trigger1
  • Events
    • Time - Every 5.00 seconds of game time
  • Conditions
  • Actions
    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • MovingUnit Equal to (Killing unit)
    • Then - Actions
      • Game - Display to (All players) the text: 10
    • Else - Actions
      • Game - Display to (All players) the text: ...
Here, I semi converted the trigger if that helps anybody. No I dont speak Spanish lol.
 
Status
Not open for further replies.
Top