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. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    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.

Damage --> Special Effect

Discussion in 'Triggers & Scripts' started by orcfan32, Dec 22, 2004.

  1. orcfan32

    orcfan32

    Joined:
    Jul 3, 2004
    Messages:
    337
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    I'm working on a thunder clap ability. It's ___SECRET___ so I cant tell you what it does. But, I want it to do damage where a special effect is placed, is that possible?

    EDIT: A variable will be used to determine how big I want the damage area to be from the center of the special effect.
    Does that help any??
     
  2. Daelin

    Daelin

    Joined:
    Jul 20, 2004
    Messages:
    3,111
    Resources:
    41
    Models:
    22
    Icons:
    3
    Tutorials:
    16
    Resources:
    41
    Huh? I again don't get you want. You want the damage to take place only EXACTLY where the spell effect takes place? LOL... You mean like, if you have a damaging spell like Flame Strike but instead of the flames, use Cloud effect? Cloud effect doesn't stretch from my knowledge so you practically would want the spell to damage only into the area where the effect is possible? Just calculate its size and aproximate the area to do the damage of the spell. That's my advice.
     
  3. orcfan32

    orcfan32

    Joined:
    Jul 3, 2004
    Messages:
    337
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    I have a spell that creates special effects, OK?

    It takes a region variable and makes it 1000 x 1000 around the caster. The special effects are created in random places in the region variable, and I want the units that are in the special effect to be damaged.
     
  4. Eusira

    Eusira

    Joined:
    Sep 3, 2004
    Messages:
    2,101
    Resources:
    4
    Models:
    3
    Skins:
    1
    Resources:
    4
    Create a point variable, but instead of using radom offesets, which creates a square area, use offset by polar, with a random angle and a random number between the 0 and the radius of the spell

    So set the variable to random point offset by a random number between 0 and the radius, facing a random angle, order it to damage the area, and then create the effects.
     
  5. orcfan32

    orcfan32

    Joined:
    Jul 3, 2004
    Messages:
    337
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    Thanks, but I found a better way. Make another varable that is set as a random point in the attack circle. Then, create the special effect and damage!
     
  6. Mad_CC

    Mad_CC

    Joined:
    Dec 23, 2004
    Messages:
    63
    Resources:
    0
    Resources:
    0
    I can Fix that Easy...
    Have you solve the problem or should i help


    ::: ;)
     
  7. Eusira

    Eusira

    Joined:
    Sep 3, 2004
    Messages:
    2,101
    Resources:
    4
    Models:
    3
    Skins:
    1
    Resources:
    4
    Already has. Stop trying to raise your post per day ratio higher than mine :(

    Just joking. Next time, see if the threadmaker HAS said something signaling he has an idea how to do it.
     
  8. Daelin

    Daelin

    Joined:
    Jul 20, 2004
    Messages:
    3,111
    Resources:
    41
    Models:
    22
    Icons:
    3
    Tutorials:
    16
    Resources:
    41
    Eusira is right about raising posts useless MAD_CC. You just post in threads to ask people if they solved the problem when into the last post, they said that they already did. Also, in another post if you ask someone if to help him or not. If the problem is solved, don't interfere. If you see someone who needs help and the problem is not solved, don't ask if to help or not. Just help...

    ~Daelin