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 haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Lead your forces to battle in the 15th Techtree Contest. The call is yours, commander!
    Dismiss Notice
  4. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  5. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  6. 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] Ability Cast

Discussion in 'Triggers & Scripts' started by Couchking, Jan 10, 2009.

  1. Couchking

    Couchking

    Joined:
    Dec 8, 2008
    Messages:
    29
    Resources:
    0
    Resources:
    0
    I want to make a unit cast a specific ability that it has on another unit, but I am failing to find a trigger that I can use to make it cast the ability. The ability is custom. Help!
     
  2. Anopob

    Anopob

    Joined:
    Jun 12, 2006
    Messages:
    7
    Resources:
    0
    Resources:
    0
    Ever tried Unit - Issue Order Target Unit (or whatever it's called)?
     
  3. D3zmodos

    D3zmodos

    Joined:
    Aug 9, 2008
    Messages:
    66
    Resources:
    0
    Resources:
    0
    You first need to check what the "Order String" is and then in the trigger say: Unit - Issue an order targeting a unit. BUT you need to tell it what to cast using that order string (so if your ability was based of frost nova the order string would, by default be Frost Nova. This means that you need to tell the unit to use frost nova in the trigger)
     
  4. -Berz-

    -Berz-

    Joined:
    Mar 5, 2008
    Messages:
    3,203
    Resources:
    123
    Icons:
    111
    Packs:
    1
    Skins:
    1
    Spells:
    10
    Resources:
    123
    • stuff
    • Unit - unit issue order to <Human Thunder clap> (target point/unit)...
     
  5. Arusar

    Arusar

    Joined:
    Nov 9, 2008
    Messages:
    80
    Resources:
    0
    Resources:
    0
    order unit target unit
    ex:storm bolt (human)

    order unit target point
    ex:flame strike(human)

    order unit target with no target(instant cast)
    ex:thunder clap(human)

    correct me if i'm wrong :grin:
     
  6. Day-Elven

    Day-Elven

    Joined:
    Apr 3, 2008
    Messages:
    699
    Resources:
    0
    Resources:
    0
    It's order targeting a unit. Just order to cast an ability with the order id of ability you want to be casted. Also, threads / tutorials about dummies might be helpful for you.
     
  7. Igor_Z

    Igor_Z

    Joined:
    Jul 12, 2008
    Messages:
    296
    Resources:
    0
    Resources:
    0
    If it is Targeted on a unit use Unit - Issue order Targeting a Unit(Order your unit to use X spell on your other unit), if it is targeted a point use Unit - Issue order Targeting a Point(Order your unit to use Y spell on a Point that u like) and if it is no targeted use Unit - Issue order with no target(Order your unit to Z spell)