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

2 simple questions

Status
Not open for further replies.
Level 2
Joined
Jul 1, 2007
Messages
15
1st

When I make I game on force the computers are not switched on... (i made this place for computers) and users can change their color like on the place for pink blue can play like in a meele map you now i cant fix that :( could you help me please

2nd

I cant make when i player leaves or is defeated his towers and units to die. How to do this

THANKS A LOT !
 
Level 27
Joined
Feb 22, 2006
Messages
3,052
Both questions shall be answered with no effort

Go up to the player properties and forces, select Fixed Player Settings

  • Events
  • Player - A PLAYER GETS OWNED
  • Actions
  • Set ALG = All units owned by Triggering Player
  • Unit Group - Pick all units in ALG and Remove Picked Unit from the Game.
  • Custom Script: call DestroyGroup (udg_ALG)
You need one variable, a unit group variable named ALG.
--donut3.5--
 
Status
Not open for further replies.
Top