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

a simple trigger question

Status
Not open for further replies.
Level 4
Joined
Jun 14, 2008
Messages
72
ok so I made a trigger that should kill anyone I select by Typing "smite" but it doesn't work.....


Event
Player - Player 1 (Red types a chat message containing Smite as an exact mach

Conditions

Action
Unit - Kill (Picked unit)


What did i do wrong?
 
Level 11
Joined
Oct 20, 2007
Messages
342
Picked unit is response to trigger:
  • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
U should make a trigger
event - player select a unit
action - Set <variable> = triggering unit

Event
Player - Player 1 (Red) types a chat message containing Smite as an exact mach

Conditions

Action
Unit - Kill <Variable>(unit)
 
Status
Not open for further replies.
Top