HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit - Kill

06-17-2003, 11:39 AM#1
macho271
hello, i made a trigger. When you walk into a region your men die... but i dont want natural hostiles to die when tey walk into it.. only human players! how do i get that to work?

tried many times.. and now I aks you! :P
06-17-2003, 11:45 AM#2
Fladian
Im not very good with Triggers but I know this :////

Uhm...
Event :
-Unit Enter Region

Condition :
-Triggering unit Not Equal to Neutral Hostile

Action :
-Triggering unit dies

I think this works.
06-17-2003, 12:04 PM#3
Vexorian
Yeah That's basiclly the way:

Event: Unit enters region
Condition: Player comparision - (Owner of (triggering unit)) not equal to (Neutral Hostile))
Actions: Unit - Kill (Triggering Unit)