HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit : player select

08-31-2002, 03:05 PM#1
Guest
how can i change the player of a unit :

I want to do : If a passive unit is killed
set players of others passive units to ostile units
08-31-2002, 05:03 PM#2
Guest
I think it would be like this:

Event- unit killed in RegionA is killed or UnitA is killed

Condition- Unit is owned by neutral passive

Action- Change units owned by passive in regionA (or you could make it specific by choosing each unit you want to be hostile) to hostile

Something like that. Im not really good with triggers, so i dont know if it would work. Try messing around with triggers.
08-31-2002, 05:29 PM#3
danmage1
It could look like this:

The red arrows mean that those can be any players. A possible solution :).
09-01-2002, 12:23 AM#4
Guest
yeah i do mine different than that but cool
09-01-2002, 12:35 AM#5
Unindel
or you could condense it to 1 trigger for all players and make it:

Event: A unit owned by Neutral Passive Dies

Action:
Player - Make (Owner of (Killing Unit)) treat Neutral Passive as an Enemy
Player - Make Neutral Passive treat (Owner of (Killing Unit)) as an Enemy
09-02-2002, 06:38 AM#6
Guest
Thanks all i 'll try it