CHecking no. of units
Moderator: Cheaters
-
- Junior Member
- Posts: 43
- Joined: November 30th, 2008, 2:28 am
CHecking no. of units
How do i press -chimaera and it shows how many chimaeras are in the whole map?
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: CHecking no. of units
Code: Select all
Untitled Trigger 001
Events
Conditions
Actions
Unit Group - Pick every unit in (Units of type Footman) and do (Actions)
Loop - Actions
Unit Group - Add (Picked unit) to Temp_Group
Game - Display to (Player group((Player((Player number of (Triggering player)))))) the text: (String((Number of units in Temp_Group)))
Custom script: call DestroyGroup (udg_Temp_Group)