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. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Choose your ride to damnation in the 5th Special Effect Contest Poll.
    Dismiss Notice
  5. The winners of the 13th Techtree Contest have been announced!
    Dismiss Notice
  6. The 13th Music Contest Poll is up! Vote for the best tracks in this symphony of frost and flame.
    Dismiss Notice
  7. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  8. 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.

Spell Help

Discussion in 'Requests' started by DarkFrog, Mar 30, 2009.

  1. DarkFrog

    DarkFrog

    Joined:
    Jan 15, 2008
    Messages:
    175
    Resources:
    0
    Resources:
    0
    Im making a hero about lycans (werewolves) an vampires and i made a roar/howl move at the same time. So that would decrease attack of enemy but at the same time it would raise your attack. This is my set up can some one remake it for me.



    Untitled Trigger 001
    Events
    Unit - Werepire 0000 <gen> Begins casting an ability
    Conditions
    (Ability being cast) Equal to Roar (Neutral Hostile)
    Actions
    Unit - Add Howl of Terror (Neutral Hostile) to Werepire 0000 <gen>
    Unit - Order Werepire 0000 <gen> to Neutral Pit Lord - Howl Of Terror



    Untitled Trigger 002
    Events
    Unit - Werepire 0000 <gen> Begins casting an ability
    Conditions
    (Ability being cast) Equal to Howl of Terror (Neutral Hostile)
    Actions
    Unit - Remove Howl of Terror (Neutral Hostile) from Werepire 0000 <gen>
    Wait 1.00 seconds
    Unit - Order Werepire 0000 <gen> to Hold Position
    Trigger - Turn on Untitled Trigger 001 <gen>
     
  2. xXMephistoXx

    xXMephistoXx

    Joined:
    Sep 3, 2006
    Messages:
    904
    Resources:
    18
    Models:
    9
    Icons:
    6
    Skins:
    1
    Maps:
    1
    Tutorials:
    1
    Resources:
    18
    Well for this spell you would have to create a dummy-unit. Just a unit that cannot be seen or harmed, there are tutorials ;)
    Other than that:
    • Trigger1
      • Events
        • Unit - A unit Starts the effect of an ability
      • Conditions
        • (Ability being cast) Equal to Roar (Neutral Hostile)
      • Actions
        • Set CasterVariable = (Triggering unit)
        • Set CasterLocVariable = (Position of CasterVariable)
        • Unit - Create 1 Footman for (Owner of CasterVariable) at CasterLocVariable facing Default building facing degrees
        • Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
        • Unit - Add Howl of Terror (Neutral Hostile) to (Last created unit)
        • Unit - Order (Last restored unit) to Neutral Pit Lord - Howl Of Terror
        • Custom script: call RemoveLocation(udg_CasterLocVariable)
     
  3. DarkFrog

    DarkFrog

    Joined:
    Jan 15, 2008
    Messages:
    175
    Resources:
    0
    Resources:
    0
    i need the information about the variables
     
  4. xXMephistoXx

    xXMephistoXx

    Joined:
    Sep 3, 2006
    Messages:
    904
    Resources:
    18
    Models:
    9
    Icons:
    6
    Skins:
    1
    Maps:
    1
    Tutorials:
    1
    Resources:
    18
    CasterVariable = Unit
    CasterLocVariable = Point
     
  5. DarkFrog

    DarkFrog

    Joined:
    Jan 15, 2008
    Messages:
    175
    Resources:
    0
    Resources:
    0
    A few years ago i used to be able to do good triggers but i decided to give up on it. A year ago I made a spell pack (not here) and i spend hours on it. And world edit crashed and so i gave up. Now i have decide to redo my work. So i might be able to do my triggers again. Also i know what dummies are also i had a few minutes to make the spell that i posted so if i took my time i could have done better. Also the spell didnt work



    • Trigger Roar
      • Events
        • Unit - A unit Starts the effect of an ability
      • Conditions
        • (Ability being cast) Equal to Roar (Neutral Hostile)
      • Actions
        • Set CasterVariable = (Triggering unit)
        • Set CasterLocVariable = (Position of CasterVariable)
        • Unit - Create 1 Footman for (Owner of CasterVariable) at CasterLocVariable facing Default building facing degrees
        • Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
        • Unit - Add Howl of Terror (Neutral Hostile) to (Last created unit)
        • Unit - Order (Last restored unit) to Neutral Pit Lord - Howl Of Terror
        • Custom script: call RemoveLocation(udg_CasterLocVariable)
     
  6. BearMachine

    BearMachine

    Joined:
    Mar 11, 2009
    Messages:
    24
    Resources:
    0
    Resources:
    0
    Change that "last restored unit" to "last created unit" and it should work.
     
  7. xXMephistoXx

    xXMephistoXx

    Joined:
    Sep 3, 2006
    Messages:
    904
    Resources:
    18
    Models:
    9
    Icons:
    6
    Skins:
    1
    Maps:
    1
    Tutorials:
    1
    Resources:
    18
    Ah, sorry about that, just a miss-click :S