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.

Veroiran Plz Help

Discussion in 'Triggers & Scripts' started by Va[P]or, Jul 28, 2004.

  1. Va[P]or

    Va[P]or

    Joined:
    Jul 21, 2004
    Messages:
    15
    Resources:
    0
    Resources:
    0
    Im making a Ability in which there is a Pychic Person who has a abilty like chain lighting but instead of damage it takes control of each person it hits.

    I did it with triggers but it only takes control of the targeted creature.

    I also tried something with immolation. This shield protects the user and suks up alot of mana but when in this form an units that attacks him will be under his control. But it Doesnt Work With Multilple Events WAt am i doing wrong?
     
  2. whitenights

    whitenights

    Joined:
    Mar 25, 2004
    Messages:
    51
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    This is a very tricky problem indeed... Chain Lightning, Healing, or any other type of chain spell does not have a non-jass function that will tell you all of the units targeted. My suggestion is to create a Chain Lightning function that creates more chain lightning creators.

    I.E.
    You Chain Lightning one creature (with the actual spell)
    you take control of that creature
    with triggers you pick a random unit within 400 or so and change its owner
    that repeats

    I have a map that would show that function.... I will see if I can post it because it would show everyone how to do chain triggers.
     
  3. The_Raven

    The_Raven

    Joined:
    Jun 10, 2004
    Messages:
    602
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    1) Make the hero's Chain Lightning bounce 0 times, so that it only hits one unit.
    2) Change the ownership of "target unit of ability being cast."
    3) Create a dumm y unit above the target and order it to cast a dummy Chain Lightnting on a random targetable unit in the area.
    4) Repeat steps 2 & 3 X times, where X is equal to the number of bounces.

    ~The_Raven
     
  4. whitenights

    whitenights

    Joined:
    Mar 25, 2004
    Messages:
    51
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
  5. Va[P]or

    Va[P]or

    Joined:
    Jul 21, 2004
    Messages:
    15
    Resources:
    0
    Resources:
    0
    TY SO MUCH IT WORKED... umm is it possible to import spells and trigggers without deleting my current ones?
     
  6. The_Raven

    The_Raven

    Joined:
    Jun 10, 2004
    Messages:
    602
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    Spells FAQ, Question #3, Option #2

    ~The_Raven