[Trigger] Simple Question ''-clear animal'' command

Status
Not open for further replies.
Level 2
Joined
Mar 20, 2015
Messages
14
Hello guys, did you all know a map called Farmer Vs Hunter??? And that is remastered by rednek and parafrazor. Version is update and update, and a version have a -clear animal command. It use to instant clear all the animal in the map. But, why me did not work that??? That down is my trigger^^Clear Animal
Events
Player - Player 1 (Red) types a chat message containing -clear animal as An exact match
Player - Player 2 (Blue) types a chat message containing -clear animal as An exact match
Player - Player 3 (Teal) types a chat message containing -clear animal as An exact match
Player - Player 4 (Purple) types a chat message containing -clear animal as An exact match
Player - Player 5 (Yellow) types a chat message containing -clear animal as An exact match
Player - Player 6 (Orange) types a chat message containing -clear animal as An exact match
Player - Player 7 (Green) types a chat message containing -clear animal as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) of type Chicken) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) of type Sheep) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) of type Pig) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) of type Golden Chicken (Level 2)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) of type Black Sheep (Level 2)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) of type Fat Pig (Level 2)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
 
Some people sure say: you can use 1 action only... No need to multi action.... Lol, that is my leaks, but why did it no work?
 
This is used for player animal remove, not all player remove, or, did u mean cannot use ''Triggering Unit(Player)''?
(Units owned by (Owner of (Triggering unit))

In this case, there is no Triggering Unit. What you need instead is Triggering Player
 
There's no Triggering Unit. No unit is causing the event to go off. A Player is.

What you need is,

  • Untitled Trigger 001
    • Events
      • Player - Player 1 (Red) types a chat message containing -clear animal as An exact match
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
 
Status
Not open for further replies.
Back
Top