1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Trigger] Nova spell

Discussion in 'Triggers & Scripts' started by Kazzo, Jul 15, 2009.

  1. Kazzo

    Kazzo

    Joined:
    Jun 14, 2009
    Messages:
    429
    Resources:
    15
    Icons:
    6
    Skins:
    9
    Resources:
    15
    hey i'm wanting to make a spell that deals 300 damage on a nova like poison nova of Dota but how i make nova spells?sombedy help me?:grin:
     
  2. Vulcano

    Vulcano

    Joined:
    Mar 8, 2009
    Messages:
    335
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Something like this:

    • Nova
      • Events
        • Unit - A unit Starts the effect of an ability
      • Conditions
        • (Ability being cast) Equal to dummy ability with no target ( like battle cry )
      • Actions
        • Unit Group - Pick every unit in (Units within 600.00 of (Position of (Triggering unit)) matching (((Triggering unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
          • Loop - Actions
            • Unit - Create 1 dummy for (Owner of (Casting unit)) at (Position of (triggering unit)) facing Default building facing degrees
            • Unit - Add dot spell (a single target spell that deals damage over time(dot)) to (Last created unit)
            • Unit - Set level of dot spell for (Last created unit) to (Level of dummy abilityg for (Triggering unit))
            • Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning (Picked Unit)


    -It has much leaks but since you seem a newb, you can ignore that until you can make your spell work
    -My dummy units have negative regen so they get removed
     
  3. Child_0f_Bodom

    Child_0f_Bodom

    Joined:
    Jul 21, 2008
    Messages:
    1,113
    Resources:
    2
    Maps:
    1
    Tutorials:
    1
    Resources:
    2
    Or you can make it like this:
    This trigger adds circular special effect.
    • Nova
      • Events
        • Unit - A unit Finishes casting an ability
      • Conditions
        • (Ability being cast) Equal to <Your Ability>
      • Actions
        • Set TempPoint1 = (Position of (Triggering unit))
        • For each (Integer A) from 1 to 10, do (Actions)
          • Loop - Actions
            • Unit - Create 1 <ModelDummy> for (Owner of (Triggering unit)) at TempPoint1 facing Default building facing degrees
            • Unit - Add a <DummyDuration> second Generic expiration timer to (Last created unit)
            • Set TempPoint2 = (TempPoint1 offset by <AOE> towards ((Real((Integer A))) x 36.00) degrees)
            • Unit - Order (Last created unit) to Move To TempPoint2
            • Custom script: call RemoveLocation(udg_TempPoint2)
        • -------- Damage Area --------
        • Set TempGroup = (Units within <AOE> of TempPoint1)
        • Custom script: call RemoveLocation(udg_TempPoint1)
        • Unit Group - Pick every unit in TempGroup and do (Actions)
          • Loop - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • ((Owner of (Picked unit)) is an ally of (Owner of (Triggering unit))) Not equal to True
              • Then - Actions
                • Unit - Cause (Triggering unit) to damage (Picked unit), dealing 300.00 damage of attack type Chaos and damage type Unknown
              • Else - Actions
        • Custom script: call DestroyGroup(udg_TempGroup)
     
    Last edited: Jul 16, 2009
  4. Kazzo

    Kazzo

    Joined:
    Jun 14, 2009
    Messages:
    429
    Resources:
    15
    Icons:
    6
    Skins:
    9
    Resources:
    15
    Hey thanks all it worked but it doesn't have a especial effect like poison nova (that poison moves in a circle and hits you) how i can do the especial effect?
     
  5. darkreapers

    darkreapers

    Joined:
    Jun 1, 2009
    Messages:
    86
    Resources:
    0
    Resources:
    0

    :slp: how is that anywhere near the concept of a nova? All ur trigger does is damage all units within a certain AoE
     
  6. Child_0f_Bodom

    Child_0f_Bodom

    Joined:
    Jul 21, 2008
    Messages:
    1,113
    Resources:
    2
    Maps:
    1
    Tutorials:
    1
    Resources:
    2
    Try this one:
     

    Attached Files:

  7. Kazzo

    Kazzo

    Joined:
    Jun 14, 2009
    Messages:
    429
    Resources:
    15
    Icons:
    6
    Skins:
    9
    Resources:
    15
    thanks all the spell of child_of_bodom worked with the special effect i wanted(the nova) but anyways +rep to all
     
  8. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
  9. itVexesme

    itVexesme

    Joined:
    Jul 13, 2009
    Messages:
    5
    Resources:
    0
    Resources:
    0