Hi all^^
I'm working on a scripted version of Northern Ithilien, where if one player starts as Men close to the Forbidden Pool, and another in the north-eastern area as Mordor, the programmed scripts (which I called "Faramir Mechanics") start. In the map I'd like to make a special feature: at the beginning, the Mordor player only controls four Lumbermills at max level in the north-western area. Here there's also an Orc camp, which I set it belongs to PlyrOrcs (a Skirmish Player with SkirmishMordorAI). However, if the camp is attacked by the Rangers, it is transferred to the control of the Mordor player. Here stands my problem
I can't attack in any single way the PlyrOrcs units and buildings, even if I set, in the Player list, an hostile relation (I also made a script to make them enemies, but unsuccessfully). Furthermore, I also created another team, PlyrRangers (a Skirmish Player with SkirmishMenAI), which is enemy with PlyrOrcs and allied with the Gondor Player. At the beginning of the match, there should be a group of Orcs and Rangers (belonging to their respective teams) clashing each other without harming. The first player (Gondor/Mordor) to reach them gains the control of the respective units. But like I said, the units completely ignore my commands, they don't even consider themselves enemies. In addition, when I get close to the Rangers while playing as Gondor, they don't join my team, even if this is the command line (which works if they're owned by PlyrCivilian):
IF
One unit from "teamPlayer_3" enters area "OutpostArea" (surfaces allowed: GROUND)
THEN
Team "PlyrRangers/TeamPlyrRangers" merges onto "teamPlayer_3"
So my question is: how can I make neutral units allies/enemies? How they can be attacked, but also attack?
I hope you can help me, since the relation commands don't seem to work, and I don't know what else to do
Edited by DrHouse93, 07 February 2015 - 12:41 AM.