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] Mirror Image Spell Help

Discussion in 'Triggers & Scripts' started by Terror Shark, Feb 6, 2007.

  1. Terror Shark

    Terror Shark

    Joined:
    Feb 6, 2007
    Messages:
    8
    Resources:
    0
    Resources:
    0
    Im making an illusionist type hero for a map, and i had a few questions.

    First, i thought about making an aura that would make all your illusions deal some % damage, that % going up every level. Would this even be possible?

    The main problem however is a spell that would be pretty much an aoe Mirror image. I tried to add the spell to all units in an area and cast, but it was extremely choppy. I was wondering if you could make a dummy for all units and then cast wand of illusion or somthing, but what would the actual trigger be?
     
  2. operator

    operator

    Joined:
    Feb 9, 2006
    Messages:
    1,670
    Resources:
    1
    Maps:
    1
    Resources:
    1
    I'll have a look when I get home from school.
     
  3. l33t5up4h4x0r

    l33t5up4h4x0r

    Joined:
    Oct 23, 2006
    Messages:
    228
    Resources:
    1
    Maps:
    1
    Resources:
    1
    I dont get it. An aura that causes your present illusions to deal some damage? or an aura that creates illusions to all allies you walk to?
     
  4. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,596
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    The aura is virtualy impossiable to make.

    An AOE illusion is easy.
    Your simply have to make it pick all units in the area of the dummy spell target location and get a dummy unit to cast a illusion on each unit matching your conditions.
     
  5. paskovich

    paskovich

    Joined:
    Jul 12, 2005
    Messages:
    794
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    The aura is not impossible to make, but it needs JASS, and i would be warned if i posted a JASS trigger here... And i think it's a good idea, i can make it for you if want me to. But i warn you, it will be written in JASS.
     
  6. Terror Shark

    Terror Shark

    Joined:
    Feb 6, 2007
    Messages:
    8
    Resources:
    0
    Resources:
    0
    Thats fine, if you could make it i would really appriciate it. I really have no experiance in JASS though.
     
  7. Terror Shark

    Terror Shark

    Joined:
    Feb 6, 2007
    Messages:
    8
    Resources:
    0
    Resources:
    0
    Its two different spells. One is an aura tha makes present illusions to deal some damage. the second spell creates a mirror image of all your allies in a certain range around you.
     
  8. Terror Shark

    Terror Shark

    Joined:
    Feb 6, 2007
    Messages:
    8
    Resources:
    0
    Resources:
    0
    Okay so i did
    Events - Unit casts ability
    Conditions - Equal To AOE Mirror Image
    and basically for actions - Take every unit within 900 of caster and do actions
    create 1 dummy for owner of picked unit
    add item illusions to dummy

    now i am at order dummy to _____. what do i put as a spell? thats what i am stuck on.
     
  9. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,596
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    OMG THERE IS AN EDIT BUTTON YOU TRIPPLE POSTER!

    Well you basicly have to give it the ability and order it to cast the ability on to every picked units.
    Since your using an item you must order it to use the item on the targets. . .
     
  10. Terror Shark

    Terror Shark

    Joined:
    Feb 6, 2007
    Messages:
    8
    Resources:
    0
    Resources:
    0
    Im not using an item, im using an ability based off the item illusion ability. I dont know how i would give the dummy an item and use it on picked unit.
     
  11. paskovich

    paskovich

    Joined:
    Jul 12, 2005
    Messages:
    794
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    Ok, here's the aura attached. To implement, copy the spell, all buffs, and the trigger to your map. Also be sure to copy the Handle Vars script to your map's custom script section. (The sample map has the script, so copy it from there.)

    EDIT:
    Whoopss.. I just read your PM... This aura that i made will cause the Illusions to deal x% BONUS damage. But you didn't write that your illusions deal no damage... This way, the spell does not work, and i think it cannot even be done. Unless, you make it so that illusions deal at least minor damage (0.001%), as the system is based on damage-detection...
    But for now, I will remake the spell, and attach it again.
     

    Attached Files:

    Last edited: Feb 9, 2007
  12. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,596
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    You simply have to summon 2 copies of each illusion inorder to work.
    The first copy is the 0% damage one.
    The second has its % damage set to the current amount of the aura but is set to hidden so it does not fight.
    When the normal illusion walks into the aura area, you change it with the one you hid.

    This will work well but the illusions orders will be disrupted sadly.
     
  13. paskovich

    paskovich

    Joined:
    Jul 12, 2005
    Messages:
    794
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    Here's the updated one:

    The aura gives 12/24/36 (changable) damage to friendly Illusions.
     

    Attached Files:

  14. Terror Shark

    Terror Shark

    Joined:
    Feb 6, 2007
    Messages:
    8
    Resources:
    0
    Resources:
    0
    okay thank for the help everyone much appriciated.