• 🏆 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!

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