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

GUYS GOOD INFO FOR YOU

Status
Not open for further replies.
Level 4
Joined
Feb 11, 2006
Messages
44
: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
 
Level 4
Joined
Feb 11, 2006
Messages
44
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.
 
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.

Code:
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 :)
 
Status
Not open for further replies.
Top