CHecking no. of units

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

hermit17
Junior Member
Posts: 43
Joined: November 30th, 2008, 2:28 am

CHecking no. of units

Post by hermit17 »

How do i press -chimaera and it shows how many chimaeras are in the whole map?
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: CHecking no. of units

Post by Arabidnun »

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)