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

Need help with triggers

Status
Not open for further replies.
Level 10
Joined
Dec 11, 2006
Messages
359
Last edited:
Level 28
Joined
Jun 4, 2007
Messages
1,480
  • Unit - Create 1 Web for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by (Distance between (Position of (Casting unit)) and (Target point of ability being cast)) towards (Facing of (Casting unit)) degrees) facing Default building facing (270.0) degrees
  • Set Angle = ((Facing of (Casting unit)) - 180.00)
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • Angle Less than 0.00
    • Then - Actions
      • Set Angle = (360.00 - Angle)
    • Else - Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • Angle Greater than 360.00
    • Then - Actions
      • Set Angle = (0.00 + Angle)
    • Else - Actions
  • Set Point = ((Target point of ability being cast) offset by 150.00 towards Angle degrees)
  • Unit - Create 1 Web for (Owner of (Casting unit)) at Point facing Default building facing (270.0) degrees
This creates two webs next to eachother. The If Then Else actions are for fixing the angle incase it becomes negative or greater than 360. To make all four webs you may need to correct the first web. Just do as I did with the angles after creating the first web and set the offset to 300.
NOTE: I used Point with polar offset when I specified the point.
 
Level 10
Joined
Dec 11, 2006
Messages
359
Thx but i can only see one web, what can i be doing wrong?
it dont seem to work.. am i doing something wrong? i did what u told
i want this to be like the Dark Druid spell from AoM or like Invoke Icy Path, if could be done.
 
Last edited:

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
Spell-threads go on the Spells and Systems forum.
[self="http://www.hiveworkshop.com/forums/forumdisplay.php?f=309"]
spellsandsystems.gif
»»» Spells and Systems
[/self]
Talk regarding custom created spells and systems takes place in here. Get help creating a spell or implementing a system etc.
Do NOT request for help or talk about spell-creation in the World Editor Help Zone. Spell-matters go on the Spells and Systems, which has it's link above.
~Thread Moved
 
Status
Not open for further replies.
Top