Escape Help

R@i_no_Wyrm

New Member
Reaction score
43
Code:
Slide
    Events
        Time - Every 0.02 seconds of game time
    Conditions
    Actions
        Set PlayerGroup2 = (All players controlled by a User player)
        Player Group - Pick every player in PlayerGroup2 and do (Actions)
            Loop - Actions
                Set temp_group2 = (Units owned by (Picked player))
                Unit Group - Pick every unit in temp_group2 and do (Actions)
                    Loop - Actions
                        Set temp_point = (Position of (Picked unit))
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at temp_point) Equal to Northrend - Ice
                        ((Picked unit) is alive) Equal to True
                    Then - Actions
                        Set temp_point_2 = [u][b]((Center of (Playable map area))[/b][/u] offset by (7.70, (Facing of (Picked unit))))
                        Set HeroSlideEffect[1] = (Position of (Picked unit))
                        Unit - Move (Picked unit) instantly to temp_point_2, facing (Facing of (Picked unit)) degrees
                        Custom script:   call RemoveLocation (udg_HeroSlideEffect[1])
                        Custom script:   call RemoveLocation (udg_temp_point)
                        Custom script:   call RemoveLocation (udg_temp_point_2)
                        Custom script:   call DestroyForce(udg_PlayerGroup2)
                        Custom script:   call DestroyGroup(udg_temp_group2)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Terrain type at temp_point) Equal to Icecrown Glacier - Ice
                                ((Picked unit) is alive) Equal to True
                            Then - Actions
                                Set temp_point_2 = ((Center of (Playable map area)) offset by (7.70, (Facing of (Picked unit))))
                                Set HeroSlideEffect[1] = (Position of (Picked unit))
                                Unit - Move (Picked unit) instantly to temp_point_2, facing (Facing of (Picked unit)) degrees
                                Custom script:   call RemoveLocation (udg_HeroSlideEffect[1])
                                Custom script:   call RemoveLocation (udg_temp_point)
                                Custom script:   call RemoveLocation (udg_temp_point_2)
                                Custom script:   call DestroyForce(udg_PlayerGroup2)
                                Custom script:   call DestroyGroup(udg_temp_group2)
                            Else - Actions
                                Custom script:   call DestroyForce(udg_PlayerGroup2)
                                Custom script:   call RemoveLocation (udg_temp_point_2)
                                Custom script:   call RemoveLocation (udg_temp_point)
                                Custom script:   call DestroyGroup(udg_temp_group2)

And what's the meaning of center of playable map area?

Code:
Death
    Events
        Time - Every 0.02 seconds of game time
    Conditions
    Actions
        Set FlameLords = (Units of type FlameLord)
        Unit Group - Pick every unit in FlameLords and do (Actions)
            Loop - Actions
                Set temp_point = (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
                (Terrain type at temp_point) Equal to Northrend - Snow
            Then - Actions
                Unit - Kill [b][u](Triggering unit)[/b][/u]
                Custom script:   call RemoveLocation (udg_temp_point)
                Custom script:   call DestroyGroup(udg_FlameLords)
            Else - Actions
                Custom script:   call RemoveLocation (udg_temp_point)
                Custom script:   call DestroyGroup(udg_FlameLords)

And do NOT use triggering unit!
Use picked unit instead. But it's a good map.
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
I've reworked your triggers and variables....there are some unnecessary things, so I deleted them. There is a much shorter way. See this map yourself. I'm too sleepy now (it's 12 AM in the morning =.=) I'll explain later if you need me.

NotBlah.w3x
 

BloodReaver

New Member
Reaction score
2
Well I would like for you to explain and please fix your link it dosn't work :p
And now I have to wait till you wake up from sleepy-bye until you can help agian :)



YESS Im now a "New Member"
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
It didn't worked?
Try this.
But I'll remove it from my attachment though, after this problem is finished.
Because TH has Attachment limit.
 

BloodReaver

New Member
Reaction score
2
It's cool but first is there anyway to slow slide speed? And also Some of the ice I need controllable Some isn't.

-Edit-
Found speed
 

R@i_no_Wyrm

New Member
Reaction score
43
decrease the instant move pixel or make the periodic event slower. eg :
periodic event-every 0.03 seconds
to
periodic event-every 0.05 seconds
 

BloodReaver

New Member
Reaction score
2
Grr this is really hard. This is what I got (this Blah is different)
 

Attachments

  • Blah.w3x
    85.2 KB · Views: 217

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
Why are you repeating the IFs?

Code:
((Terrain type at L) Equal to Icecrown Glacier - Ice) or ((Terrain type at L) Equal to Northrend - Ice)
This means units that are on Icecrown Glacier - Ice and units that are on Northrend - Ice will be picked.
 

BloodReaver

New Member
Reaction score
2
Yes! Wahoo! I got it. (I think) Can you guys check it out please?

Btw Can I add you guys? (If you can on this site :0)
Can you guys also give me ideas for the map? I'll give you credit (I already will though for helping my slide trigger)
 

Attachments

  • Blah.w3x
    85.2 KB · Views: 204

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
Why should us check it? If it already worked like you wanted, then it is finished.

>Btw Can I add you guys? (If you can on this site :0)
What do you mean by add?
 

BloodReaver

New Member
Reaction score
2
>What do you mean by add?
Friends list :)

But I want you to check it to see if its at your standard of sliding.

Does anyone know how to group all the players into one player variable? Then I can make triggers for all the players easier.
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
You want to add me? Up to you ;)
I gave you the triggers, so that is my way of sliding.

Yes, R@i is right, use Player Group.
 

BloodReaver

New Member
Reaction score
2
>Yes, R@i is right, use Player Group.

When I need to say to what players get the effect it dosn't let me use Player Groups

Btw How can I make a giant Frost Nova?

Hmm Im having trouble finding a trigger to order unit to cast ability..Can somne give me the base Trigger?
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
In that case, you'll have to set a Player Group earlier, then pick all players in there, and do the stuff to Picked Player.

You can make the giant effect by making a unit with that model with big scaling value.
 

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
EDIT: Didn't read all teh pages...

Here's my sliding trigger anyway...

Code:
Sliding
    Events
        Time - Every 0.03 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in DemonHunters and do (Actions)
            Loop - Actions
                Set Temp_Point1 = (Position of (Picked unit))
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at Temp_Point1) Equal to Sunken Ruins - Large Bricks
                    Then - Actions
                        Set Temp_Point2 = (Temp_Point1 offset by 13.00 towards (Facing of (Picked unit)) degrees)
                        Unit - Move (Picked unit) instantly to Temp_Point2
                        Custom script:   call RemoveLocation(udg_Temp_Point2)
                    Else - Actions
                        Do nothing
                Custom script:   call RemoveLocation(udg_Temp_Point1)
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
That's just exactly like my trigger :p

Note that you have to order a unit using its base ability.
So if you want to order a unit to cast a custom Frost Nova, order it to cast Frost Nova instead.
 

BloodReaver

New Member
Reaction score
2
Hmm mabye there is a problem. My hero can't turn fast, you have to click his destination like 5 times. :(
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top