Player 2 Comp Units act strange

Status
Not open for further replies.

Garmichael

G

Garmichael

This is my first post, and ive searched the forum for a solution but didnt find anything. forgive me if im reposting.

I'm working on a map where you play a unit with no attacking capability. He summons different units who fight for him and react generally to his commands, instead of giving the player full control over the summons.

I needed them to be uncontrolled by the player, and since theres no work around to the locust issue, i decided to put the summons as an allied player.

The spawn spell uses channel, requires a ground point, and calls a trigger to create 1 unit for player 2 at that point.

When I issue a command for the summoner, such as move to, the command is duplicated for all units controlled by player 2. It works fine for a while, but after a few commands, the summoned unit runs back to its spawn point. I can issue more commands, but after it follows them, it returns to its spawn point again.

Any ideas on whats going on??
 
Ahh yeah i love those problems, i always encounter them when i do unit spawning in a Aos style map. But... this only happens if the creature is trained or sold.
Ahh yeah i found it, this works for me everytime. Someone told me this, then i used it and it worked great.

AI-Ignore the Guard Position of all Player x units.

I dont know if you need to set this once, because i set it everytime a unit is created.
 
Ahh yeah i love those problems, i always encounter them when i do unit spawning in a Aos style map. But... this only happens if the creature is trained or sold.
Ahh yeah i found it, this works for me everytime. Someone told me this, then i used it and it worked great.

AI-Ignore the Guard Position of all Player x units.

I dont know if you need to set this once, because i set it everytime a unit is created.

He will, but he could also just remove the set AI for computer players and make the allyplayer a Neutral and set it to treat the enemy players as enemy... but yes it is needed for him..
 
Hey, I forgot to post back, but that did the trick. thanks guys
 
Status
Not open for further replies.
Back
Top