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 Ability: Referring to Auto-Casts

Discussion in 'World Editor Help Zone' started by GRDN1014, Aug 17, 2007.

  1. GRDN1014

    GRDN1014

    Joined:
    Aug 16, 2007
    Messages:
    12
    Resources:
    0
    Resources:
    0
    So here is how my trigger looks:


    I've referred to other abilities with triggers using either unit begins casting an ability or unit begins the effect of an ability, but with this ability the trigger will not go off. Im assuming it is because its my first auto-cast trigger ability (using searing arrow template), but I could be wrong. Any help would be awesome. Credit on my map, ofc :infl_thumbs_up:
     
  2. Steel_Cold

    Steel_Cold

    Joined:
    Apr 16, 2005
    Messages:
    154
    Resources:
    0
    Resources:
    0
    I've had experiences before where if you use a autocast ability, it will not turn the trigger on if you use the autocast effect. The player actually has to target the target.
     
  3. GRDN1014

    GRDN1014

    Joined:
    Aug 16, 2007
    Messages:
    12
    Resources:
    0
    Resources:
    0
    I tried clicking the button and clicking the target manually with the trigger still not going off. :-(

    I know DotA style maps use auto-casts in trigger abilities (panda is one I can think of) so I know its possible

    If anyone could help me out with this it would be great, thanks.
     
  4. Taur

    Taur

    Joined:
    Aug 15, 2004
    Messages:
    719
    Resources:
    5
    Models:
    3
    Maps:
    2
    Resources:
    5
    I dont think you can detect when a unit casts searing arrows because it's kind of an attack skill. The only way I can think of (using searing arrows, you might be able to do it with another auto-cast) would be to detect when searing arrows is turned off/on, record it and then when the unit attacks check if searing arrows is on if so do the actions.
     
  5. GRDN1014

    GRDN1014

    Joined:
    Aug 16, 2007
    Messages:
    12
    Resources:
    0
    Resources:
    0
    Thats actually a real good idea. Can you track when an ability has had autocast enabled/disabled? I'm going to have to mess around with that as soon as I get home from work. Thanks for the idea :wink:

    EDIT: Or, I could just make it a summon-type ability that summons a dummy. When that dummy enters the game it is removed, and the damage modifier is applied every time the said unit attacks. Then just use the ability again to turn it off. Man, even if your idea doesn't work you just sparked an infallible work-around lol thanks a lot. A+++
     
  6. Taur

    Taur

    Joined:
    Aug 15, 2004
    Messages:
    719
    Resources:
    5
    Models:
    3
    Maps:
    2
    Resources:
    5
    Actually you can detect when an autocast is turned on/off.

    Event: A unit is issued an order with no target
    Condition: Issued order is equal to 'Enable Searing Arrows' (or something)
     
  7. GRDN1014

    GRDN1014

    Joined:
    Aug 16, 2007
    Messages:
    12
    Resources:
    0
    Resources:
    0
    Very cool! On my way home to test it out.