• 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.

Need to make a stealth event: How to make force 3 (or player) be controlled by force 2 without beign targeted to force 1?

Level 5
Joined
Sep 10, 2023
Messages
70
Hello. I need to make a stealth "event" for my game. I have force 1 which is humans and force 2 which is undead (they are enemies). I want to make it so when the undead players cast a spell a unit spawn in a random part of the map. I have that done.

But I want to make it so that the random spawned unit is controlled by the undead players but it doesnt get automatically targeted by the humans (only when they manually attack it) so it has to be either neutral or allied to the human players. Is there a way to make this happen? I tried with triggers but it wont give me controll of the unit.
 
Level 11
Joined
Nov 15, 2007
Messages
800
  • Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision and full shared units
  • Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally with shared vision and full shared units
  • Player - Make Player 3 (Teal) treat Player 2 (Blue) as an Neutral
 
Level 5
Joined
Sep 10, 2023
Messages
70
It was simple!

1725764216708.png


It may be not clean but it worked.

Thanks!
 
Top