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. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  4. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  5. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  6. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  7. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    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.

[General] How do I control illusions via triggers ?

Discussion in 'World Editor Help Zone' started by [E]clipse, Apr 22, 2015.

  1. [E]clipse

    [E]clipse

    Joined:
    Jan 6, 2015
    Messages:
    559
    Resources:
    0
    Resources:
    0
    Once again.. I am in probem and I hope some one can help me.
    Well, I wanted to know if theres a way to control illusions via triggers like giving them an ability and then ordering them 2 cast it. Is it possible?
     
  2. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,625
    Resources:
    27
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    2
    Resources:
    27
    Illusions can't have additional abilities and use them. These must be semi real illusion and it's very tricky in my memory. Though I'm not expert in this case, so don't take my words too much.
     
  3. [E]clipse

    [E]clipse

    Joined:
    Jan 6, 2015
    Messages:
    559
    Resources:
    0
    Resources:
    0
    Semi real illusions? Never heard of this. Can yu plz explain?
     
  4. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,625
    Resources:
    27
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    2
    Resources:
    27
    Semi real illusion I meant are illusions that is based on a real unit, they're made in Object Editor and triggered in a way to make it look like an illusion.
     
  5. Flux

    Flux

    Joined:
    Feb 6, 2014
    Messages:
    2,334
    Resources:
    28
    Maps:
    1
    Spells:
    19
    Tutorials:
    2
    JASS:
    6
    Resources:
    28
    So change Tint to Blue within Local Player via Trigger and Remove the Unit upon death and create the 'smoke' death effect of illusions. But how do you make the unit takes x % damage and deals y % damage?
     
  6. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,625
    Resources:
    27
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    2
    Resources:
    27
    @Shadow Flux, DDS. It's easier if we use different unit for illusion though.
    Yeah, tinting with local players.
    But this cause mess with heroes. I recall something around this when playing Eve of the Apocalypse (Soul Binder and that Spirit Girl, can't remember the name).
     
  7. [E]clipse

    [E]clipse

    Joined:
    Jan 6, 2015
    Messages:
    559
    Resources:
    0
    Resources:
    0
    @daffa, so how do u make the illusions seem coloured 2 the enemies and tinted 2 the allies?
     
  8. Flux

    Flux

    Joined:
    Feb 6, 2014
    Messages:
    2,334
    Resources:
    28
    Maps:
    1
    Spells:
    19
    Tutorials:
    2
    JASS:
    6
    Resources:
    28
    @Daffa, what about the Items held by the triggered illusions?
    Example, player creates illusion and sold all its items, easy money. demon_slayer has to create dummy Items for each which cannot be dropped and sold?
     
  9. maddeem

    maddeem

    Joined:
    Jan 1, 2011
    Messages:
    1,251
    Resources:
    5
    Maps:
    2
    Spells:
    3
    Resources:
    5
    You can make items undroppable and unsellable via triggers
     
  10. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,625
    Resources:
    27
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    2
    Resources:
    27
    Use GetLocalPlayer() there's a tutorial for it at Tutorial Section.

    Maddeem explains it :
     
  11. Flux

    Flux

    Joined:
    Feb 6, 2014
    Messages:
    2,334
    Resources:
    28
    Maps:
    1
    Spells:
    19
    Tutorials:
    2
    JASS:
    6
    Resources:
    28
    Last issue, illusions can use items.
     
  12. maddeem

    maddeem

    Joined:
    Jan 1, 2011
    Messages:
    1,251
    Resources:
    5
    Maps:
    2
    Spells:
    3
    Resources:
    5
    Intercept use orders and stop them
     
  13. [E]clipse

    [E]clipse

    Joined:
    Jan 6, 2015
    Messages:
    559
    Resources:
    0
    Resources:
    0
    Can someone link me that tinting tutorial that daffa said?
     
  14. Flux

    Flux

    Joined:
    Feb 6, 2014
    Messages:
    2,334
    Resources:
    28
    Maps:
    1
    Spells:
    19
    Tutorials:
    2
    JASS:
    6
    Resources:
    28
    Take a look at this