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

[Trigger] This trigger doesnt work >.<

Status
Not open for further replies.

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
Hello everyone. I have just created a new spell. It seems very simple but I dont know why the trigger doesnt work. The dummy is created but doesnt cast the spell.
Here is the trigger:
  • Hurricane
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Hurricane
    • Actions
      • Set tempPoint = (Position of (Triggering unit))
      • Set H_Lvls = (Level of Hurricane for (Triggering unit))
      • For each (Integer H_Integer) from 1 to 36, do (Actions)
        • Loop - Actions
          • Set H_Angle = (10.00 x (Real(H_Integer)))
          • Set H_CastPoint = (tempPoint offset by 300.00 towards H_Angle degrees)
          • Unit - Create 1 Dummy2 for (Owner of (Triggering unit)) at tempPoint facing Default building facing degrees
          • Unit - Add Hurricane (Dummy) to (Last created unit)
          • Unit - Set level of Hurricane (Dummy) for (Last created unit) to H_Lvls
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave H_CastPoint
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • Custom script: call RemoveLocation(udg_H_CastPoint)
      • Custom script: call RemoveLocation(udg_tempPoint)
Additional Information about the Hurricane (Dummy) spell:
+It is based on Shockwave
+Its target is Ground and Structure
+Max distance: 800/900/1000, Cast range 99999, manacost 0, cd 0, damage 75/100/125, maximum damage dealt is 0 (somebody told me that setting it to 0 meaning no damage limit),
Can anyone help me plz?
 
Status
Not open for further replies.
Top