Warcraft III resources & community, 2003–2006 · archived

GUYS GOOD INFO FOR YOU

9 posts
#1

GUYS GOOD INFO FOR YOU

:D :D :D :D :D :D :D

Guyz, whoever likes to make mazes and all that crap heres sumthing for you. You tired of making death regions? Do u use Koga73's Die on quickwrite program. Well me, Pr0-Mazer found out a trigger to do all of that in 2 simple triggers. Its awsome here it is...

Event: Every 0.05 seconds

Conditions: (none)

Actions: If terrain type at position of (mazer) equal

to (death ground((base tile)) ) then do

Unit- Kill (mazer) else do nothing. END

EASY! And the action is all one trigger. Do it in If/Then/Else Trigger .

Contact me if anything happens @ [email protected]

THX! :D
#2
You didnt find out of this, many maps uses this teqnique including one of my own :P
#3
Well... A lot of maps dont have this technique and dont know it so, If mazers out there dont know this trigger. Well... here it is.
#4
thats cool
#5
Well here is the full trigger the way I do it where it also clears all the lag issues that comes by this trigger by using some custom scripts.

terrain kill trigger
    Events
        Time - Every 0.12 seconds of game time
    Conditions
    Actions
        Set tempGroup = (Units of type Savior of christmas?)
        Unit Group - Pick every unit in tempGroup and do (Actions)
            Loop - Actions
                Set tempPoint = (Position of (Picked unit))
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) is alive) Equal to True
                        Or - Any (Conditions) are true
                            Conditions
                                (Terrain type at tempPoint) Equal to Icecrown Glacier - Ice
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        Custom script:   call RemoveLocation(udg_tempPoint)
                        Custom script:   call DestroyGroup(udg_tempGroup)



This is the way it is done in my "A Christmas Maze" map :)
#6
Hum... it will help me a bit. But, why did you use the Custom Script - DestroyGroup? Why didn't you use the Unit Group - Clear? Is there any advantage?
#7
Well, it is my way of destroying the leaks which the trigger itself creates, dont know if any other way would work for that...
#9
Ye I know that map Vampire but the problem with your trigger of this subject is that it also leaks, I suggest you update the map and use the custom scripts :)