HELP WITH TRIGGERS On Unit Kill

slademaster

Member
Joined
Dec 30, 2003
Messages
10
Reaction score
0
Location
Somewhere In The Universe
Website
www.blacklotus-clan.c-f-h.com
Ok First of all how do i make so when Player 1 says Kill it kills any units selected except a unit like a hero or something like that
(<Unit *A* can be deleted and unit *B* cant>Ex: Player 1 Selects Unit *A* And types Kill and the unit gets killed But if you have selected Unit *B* it cant be killed when you type kill but the unit has a trigger fallowing it so i cant put it to replace or something like that) ***(<Hope you understand it>)***
 

Jimstick

Member!
Joined
Oct 27, 2003
Messages
38
Reaction score
0
Website
Visit site
you can put
*If selected unit is a hero then do nothing else kill selected unit*
the condition should be inunit classification check in boolean.
that last part got confusing in your post but what i said should work, just pm me if it doesnt and i'll test it out and try to fix it.
 

IceDevil9

BattleForums Senior Member
Joined
Feb 19, 2003
Messages
3,418
Reaction score
3
Location
CA
Website
www.rcthaven.com
Here give this a try.

Events
Player - Chat Message - Player 1(Red) types a chat message containing Kill as An exact match.

Conditions
None

Actions
Unit- Kill - Kill Picked Unit.

-Frank :cool:
 
Joined
Jan 10, 2004
Messages
6
Reaction score
0
Website
Visit site
ofcourse that doesnt work fine, why? because he kills a picked unit without even picking one first.

so

(unit group) pick every units in (currently selected by player 1) and do (actions)
loop action
if - condition
selected unit is not equal to hero
then
kill picked unit
else
do nothing
 
Top