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

Hey guyz, i got maze questions. Plz answer

Status
Not open for further replies.
Level 4
Joined
Feb 11, 2006
Messages
44
Hey guyz. I have some trigger help i need. First of all does anyone know the "drift acroos ice" trigger like in POLAR ESCAPE and in MAZE OF FROSTIBE? Thx if u do :!: If anyone has MSN or AIM can i add you cuz i need map testers and helpers THX!
 
This is one way of doing it...

Code:
glide
    Events
        Time - Every 0.01 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Dungeon - Lava
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
                            Then - Actions
                                Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 3.50 towards (Facing of (Picked unit)) degrees)
                            Else - Actions
        Unit Group - Pick every unit in (Units owned by Player 7 (Green)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Dungeon - Lava
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
                            Then - Actions
                                Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 3.50 towards (Facing of (Picked unit)) degrees)
                            Else - Actions
        Unit Group - Pick every unit in (Units owned by Player 6 (Orange)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Dungeon - Lava
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
                            Then - Actions
                                Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 3.50 towards (Facing of (Picked unit)) degrees)
                            Else - Actions
        Unit Group - Pick every unit in (Units owned by Player 5 (Yellow)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Dungeon - Lava
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
                            Then - Actions
                                Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 3.50 towards (Facing of (Picked unit)) degrees)
                            Else - Actions
        Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Dungeon - Lava
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
                            Then - Actions
                                Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 3.50 towards (Facing of (Picked unit)) degrees)
                            Else - Actions
        Unit Group - Pick every unit in (Units owned by Player 2 (Blue)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Dungeon - Lava
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
                            Then - Actions
                                Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 3.50 towards (Facing of (Picked unit)) degrees)
                            Else - Actions
        Unit Group - Pick every unit in (Units owned by Player 3 (Teal)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Dungeon - Lava
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
                            Then - Actions
                                Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 3.50 towards (Facing of (Picked unit)) degrees)
                            Else - Actions
        Unit Group - Pick every unit in (Units owned by Player 4 (Purple)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Dungeon - Lava
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
                            Then - Actions
                                Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 3.50 towards (Facing of (Picked unit)) degrees)
                            Else - Actions
        Unit Group - Pick every unit in (Units owned by Player 8 (Pink)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Dungeon - Lava
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
                            Then - Actions
                                Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 3.50 towards (Facing of (Picked unit)) degrees)
                            Else - Actions
        Unit Group - Pick every unit in (Units owned by Player 9 (Gray)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Dungeon - Lava
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
                            Then - Actions
                                Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 3.50 towards (Facing of (Picked unit)) degrees)
                            Else - Actions
        Unit Group - Pick every unit in (Units owned by Player 10 (Light Blue)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Dungeon - Lava
                    Then - Actions
                        Unit - Kill (Picked unit)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
                            Then - Actions
                                Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 3.50 towards (Facing of (Picked unit)) degrees)
                            Else - Actions
 
Status
Not open for further replies.
Top