HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

trigger help

03-03-2003, 03:53 AM#1
BananaTwist
i want to make a trigger that is like this but i can't find a suitable condition:

event: Player1(red) selects a unit

Conditions(what i want): unit type of selected unit owned by player 9.

event: kill selected unit
03-03-2003, 05:42 AM#2
DaKaN
suitable condition for what exactly, dont have any idea where you are going with this....

[edit]

well if you mean you want to check to see if the unit selected is owned by player 9, look under boolean Unit - Unit Selected By Player (Which unit, and player X)
03-06-2003, 11:08 PM#3
BananaTwist
Yeah that works, but the prob is i want it to work with any unit owned by player. :(
03-06-2003, 11:30 PM#4
KDEWolf
The "Wich Unit" can be the selected one, it doesn't need to be a pre-assigned var. Just check the unit the player is currently selecting.
03-06-2003, 11:51 PM#5
Tearsong
Any unit owned by which player? Be more specific please.
03-08-2003, 09:47 PM#6
KDEWolf
It may look at bit complex but i'm sure you understand it
(if you want this as an ability, make a check for an ability being use, then run the trigger i made)