I have no idea, how should i do?

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

Moderator: Cheaters

siang05
Newcomer
Posts: 24
Joined: September 1st, 2008, 12:33 am

I have no idea, how should i do?

Post by siang05 »

Code: Select all

Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Astral Imprisonment (boss)
    Actions
        Set Banish_caster = (Casting unit)
        Set Banish_target = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) belongs to an ally of (Owner of Banish_caster)) Equal to True)))
        Unit Group - Pick every unit in Banish_target and do (Actions)
            Loop - Actions
                Unit - Hide (Picked unit)
                Unit - Pause (Picked unit)
                Unit - Create 1 Troll Headhunter for (Triggering player) at (Position of (Picked unit)) facing Default building facing degrees
        Wait 5.00 seconds
        Unit Group - Pick every unit in Banish_target and do (Actions)
            Loop - Actions
                Unit - Unhide (Picked unit)
                Unit - Unpause (Picked unit)
        Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Troll Headhunter)) and do (Actions)
            Loop - Actions
                Unit - Remove (Picked unit) from the game
This gui is made by me. Is there any mistake or what?? I want to remove all the created unit from the map after 5 seconds, but it isn't working. Hope someone can help me about it.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: I have no idea, how should i do?

Post by Arabidnun »

Try This:

Image