Is there a way to add effects to your attacks?

  • Thread starter Thread starter Biskelion
  • Start date Start date
B

Biskelion

Guest
Im trying to make a sertain item have a effect that each time a hero attacks it creates a kind of thunderclap effect on the unit its attacking, ive seen this in one rpg and it looked nice, the problem is i dont know how to attach the Thunderclap animation on the units attack. Oh and sorry for making so many posts im just trying to get my map done as quickly as i can so i dont have to say this tomoro ;)
 
Yes, use this trigger:

Code:
Events:
     A unit is attacked.
Conditions:
     (Attacking unit) has item of type <your item> equal to true.
Actions:
     Create <special effect> at (position of (attacked unit))...

Hope that answeres the question. :)
 
(Attacking unit) has item of type <your item> equal to true.

Is this in item compairsens in the conditions? lol ive spent like 20 mineutes trying to find it :banghead:

This is what ive tried:

(Item carried by (Attacking unit) of type (Item-type of (Picked item))) Equal to (Item carried by (Attacking unit) of type DeathB's Sword)
 
Back to the subject i am struggling on how to find the part of the condition in silver hawks trigger code. I was asking if it was the item comparison in conditions (trying to find how to do it) not if it was a condition.

I just need help with that part in Silverhawks condition and my trigger should work.

I appologise brokenX i said it wrong :o
 
So the condition is simply to check if the hero has item X? Here's the one I use:
(Item-type of (Item carried by (Triggering unit) of type <Item here>)) equal to <Same item here>

Sure, it sort of looks redundant, but it will do the check properly, so who cares how it looks? :)
 
Thanks regalth :D so basicly it is this?:::

(Item-type of (Item carried by (Triggering unit) of type DeathB's Sword)) Equal to DeathB's Sword

It defines the item i see what you mean :) oh and thanks agine.
 
Yay, finnaly IT works! thanks ace hart you made it much simpler, oh and regalth when i tested the map the way you told me to do the condition it seemed not to work it looks like Boolen compairsen works best just for future reference.
It must be the "triggering unit" or somthing o well thanks anyway for helpin.
 
Yes acehart, you hit it on the head. I knew there was a much simpler way than the one silverhawk suggested (no insult). I had experimented with item triggers myself when I made my carrier, though when I look back on it now, I understand what you guys meant by orderstrings, lol. Too bad I didnt know it then. Doesn't matter, since I scrapped that map, lol. Anyway, even though it says hero, it will work for any unit of type, as well. So, have fun.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top