• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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