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

Short Ice Trigger

Level 5
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 )

:infl_thumbs_up: Tell Me If I Messed Up. :infl_thumbs_up:
Please Say How Usefull This Is
 
Last edited:

Archian

Site Director
Level 64
Joined
Jan 1, 2006
Messages
3,106
INCORRECT! This is just the blueprints of a sliding spell.I think they're useful.
WRONG! Every tutorial must be apporved by a moderator or an administrator in order to be moved to it's respective category and must be submitted/posted in the "Tutorial Submission" forum.

Read the tutorial submitting rules and guidlines located here.

~Thread Moved.
 
Level 1
Joined
Feb 3, 2007
Messages
1
With the triggering i cant find the target point of issued order. Can someone please tell me how to find it?
 
Last edited:
Level 32
Joined
Oct 23, 2006
Messages
5,291
Billy2: since your last activity was 01-03-2007 10:28 AM, we presume that you are never going to update this tutorial.

It is unacceptable in its present state as no .php trigger tags are used to present your trigger. If you ever return to THW, you must update and correct this submission.

~ Thread moved.
 
Top