- Joined
- Dec 30, 2006
- Messages
- 93
Hi i dont know is www.wc3sear.ch is back up yet and it has Ice Trigger on here... so here you go have it.
--------------------------------------------------------------------------
Heres a table of Variables;
Variable Name-------------Variable Type--------------Initial Value
SlideLocation ------------- Point -------------- -None-
SlidePoint ------------- Point -------------- -None-
SlidePosition ------------- Point -------------- -None-
SlideUnits ------------ UnitGroup ------ Empty unit Group (Default)
--------------------------------------------------------------------------
Name Your First Trigger Slide
Events:
Time - Every 0.01 seconds of game time
Actions
Unit Group - Pick every unit in (Units of type Paladin) and do (Actions)
Loop - Actions
Set SlidePosition = (Position of (Picked unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at SlidePosition) Equal to Icecrown Glacier - Ice
((Picked unit) is alive) Equal to True
Then - Actions
Unit Group - Add (Picked unit) to SlideUnits
Set SlidePosition = (Position of (Picked unit))
Set SlidePoint = (SlidePosition offset by 4.00 towards (Facing of (Picked unit)) degrees)
Unit - Move (Picked unit) instantly to SlidePoint
Custom script: call RemoveLocation( udg_SlidePoint )
Else - Actions
Do nothing
Custom script: call RemoveLocation( udg_SlidePosition )
--------------------------------------------------------------------------
Now Name Your Second To Slide Turn
Events:
Unit - A unit Is issued an order targeting a point
Conditions:
(Terrain type at (Position of (Triggering unit))) Equal to Icecrown Glacier - Ice (If Your Useing This Terrain)
Actions:
Set SlidePosition = (Position of (Triggering unit))
Unit - Move (Triggering unit) instantly to SlidePosition, facing (Target point of issued order)
Custom script: call RemoveLocation( udg_SlidePosition )
--------------------------------------------------------------------------
Now Third To Slide Uncontrolable
Events:
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Demon Hunters)(If Your Useing Demon Hunters) and do (Actions)
Loop - Actions
Set SlidePosition = (Position of (Picked unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at SlidePosition) Equal to Icecrown Glacier - Dark Ice
((Picked unit) is alive) Equal to True
Then - Actions
Unit Group - Add (Picked unit) to SlideUnits
Set SlidePosition = (Position of (Picked unit))
Set SlidePoint = (SlidePosition offset by 5.50 towards (Facing of (Picked unit)) degrees)
Unit - Move (Picked unit) instantly to SlidePoint
Custom script: call RemoveLocation( udg_SlidePoint )
Else - Actions
Do nothing
Custom script: call RemoveLocation( udg_SlidePosition )
Tell Me If I Messed Up.
Please Say How Usefull This Is
--------------------------------------------------------------------------
Heres a table of Variables;
Variable Name-------------Variable Type--------------Initial Value
SlideLocation ------------- Point -------------- -None-
SlidePoint ------------- Point -------------- -None-
SlidePosition ------------- Point -------------- -None-
SlideUnits ------------ UnitGroup ------ Empty unit Group (Default)
--------------------------------------------------------------------------
Name Your First Trigger Slide
Events:
Time - Every 0.01 seconds of game time
Actions
Unit Group - Pick every unit in (Units of type Paladin) and do (Actions)
Loop - Actions
Set SlidePosition = (Position of (Picked unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at SlidePosition) Equal to Icecrown Glacier - Ice
((Picked unit) is alive) Equal to True
Then - Actions
Unit Group - Add (Picked unit) to SlideUnits
Set SlidePosition = (Position of (Picked unit))
Set SlidePoint = (SlidePosition offset by 4.00 towards (Facing of (Picked unit)) degrees)
Unit - Move (Picked unit) instantly to SlidePoint
Custom script: call RemoveLocation( udg_SlidePoint )
Else - Actions
Do nothing
Custom script: call RemoveLocation( udg_SlidePosition )
--------------------------------------------------------------------------
Now Name Your Second To Slide Turn
Events:
Unit - A unit Is issued an order targeting a point
Conditions:
(Terrain type at (Position of (Triggering unit))) Equal to Icecrown Glacier - Ice (If Your Useing This Terrain)
Actions:
Set SlidePosition = (Position of (Triggering unit))
Unit - Move (Triggering unit) instantly to SlidePosition, facing (Target point of issued order)
Custom script: call RemoveLocation( udg_SlidePosition )
--------------------------------------------------------------------------
Now Third To Slide Uncontrolable
Events:
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Demon Hunters)(If Your Useing Demon Hunters) and do (Actions)
Loop - Actions
Set SlidePosition = (Position of (Picked unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at SlidePosition) Equal to Icecrown Glacier - Dark Ice
((Picked unit) is alive) Equal to True
Then - Actions
Unit Group - Add (Picked unit) to SlideUnits
Set SlidePosition = (Position of (Picked unit))
Set SlidePoint = (SlidePosition offset by 5.50 towards (Facing of (Picked unit)) degrees)
Unit - Move (Picked unit) instantly to SlidePoint
Custom script: call RemoveLocation( udg_SlidePoint )
Else - Actions
Do nothing
Custom script: call RemoveLocation( udg_SlidePosition )
Tell Me If I Messed Up.
Please Say How Usefull This Is
Last edited: