HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

help on treating 2 teams as allies

08-16-2004, 04:41 AM#1
Billy_Cat
heres the trigger I use for treating 2 forces as allies..

Code:
Player Group - Make (All allies of Player 1 (Red)) treat Player Group - Player 11 (Dark Green) as an Ally


for some reason if there is no player controlling one of the allies of player1 then they start attacking player 11..but if there is a controller.. then they dont..
08-16-2004, 07:21 AM#2
Nabren
Quote:
Originally Posted by Billy_Cat
heres the trigger I use for treating 2 forces as allies..

Code:
Player Group - Make (All allies of Player 1 (Red)) treat Player Group - Player 11 (Dark Green) as an Ally


for some reason if there is no player controlling one of the allies of player1 then they start attacking player 11..but if there is a controller.. then they dont..

So even if there is a computer in the player 1's force, it still doesn't work?
08-16-2004, 07:45 AM#3
Billy_Cat
no, it works if theres a comp or human, but if theres just an open slot, it doesnt work...
08-16-2004, 08:58 AM#4
Nabren
Quote:
Originally Posted by Billy_Cat
no, it works if theres a comp or human, but if theres just an open slot, it doesnt work...

Nor should it, there is technically noone on the force, so there is noone in the allie menu from which it gets it's data. Just make a computer that is fixed in that slot or something always.
08-16-2004, 09:38 AM#5
SpadeZ
This, i believe, is what you need.


Code:
Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
    Loop - Actions
        Player - For (Picked player), turn Alliance (non-aggression) On toward Player 11 (Dark Green)

This is the combination of 2 actions the "Player Group - Pick Every Player In Player Group And Do Multiple Action" and the "Player - Set Aspect Of Alliance" actions. I am not sure if the "Player - Set Aspect Of Alliance" action is in the normal WE, but i'm sure its in WEU. Hope it works .
08-16-2004, 04:28 PM#6
Billy_Cat
no spadez, that didnt work.. I did find a way, I had to set aspect of alliance for each player individually, and not allies..