• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Player 2 Comp Units act strange

Status
Not open for further replies.
Level 1
Joined
Jul 10, 2007
Messages
2
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??
 
Level 6
Joined
Mar 8, 2007
Messages
192
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.
 
Level 35
Joined
Oct 9, 2006
Messages
6,394
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..
 
Status
Not open for further replies.
Top