Template On Attack Template 1.30

Flare

Stops copies me!
Staff member
Reaction score
662
Customize test map settings in the Grimoire menu. Some time ago when I sent a demo map to a friend (who didn't have NewGen), he was unable to test it in WC3 because it showed nothing (instead of a list of player slots, it was completely blank). I enabled Use Custom Forces (since it specifically says in the Test Map Settings that custom test map settings won't work unless Use Custom Forces is disabled.
 

Trithilon-V2

New Member
Reaction score
20
Hey dude.....its still not opening up.....please fix the problem flare said.
Also could you explain how does you system work?
I mean what security checks does it make before declaring a damage as an attack damage ?
 

emjlr3

Change can be a good thing
Reaction score
396
you need newgen to use this, whether oyu want to test it or not, I assure u it works, but u need newgen to use it, so get it!
 

Flare

Stops copies me!
Staff member
Reaction score
662
Cool system, but it isn't extremely accurate :p

I decided to go out of my way and test what would happen if I was able to cast a damaging spell on the target unit before the projectile hit (using a slow moving projectile, but just enough speed to allow it to reach target before the 2 sec window expired :p). The effects procced on Chain Lightning hit, and nothing occured on the attack projectile hit :(

But, that's a fairly unlikely circumstance since 1) what kind of unit will have a 400 speed projectile and 2) what kind of unit will have 0.000 backswing time, in your average map.

And what exactly does On_Attack_Template_Function do, or is that only used within the system?
 

Prometheus

Everything is mutable; nothing is sacred
Staff member
Reaction score
589
I love this!
May I use this system in my map?
 

emjlr3

Change can be a good thing
Reaction score
396
Cool system, but it isn't extremely accurate :p

I decided to go out of my way and test what would happen if I was able to cast a damaging spell on the target unit before the projectile hit (using a slow moving projectile, but just enough speed to allow it to reach target before the 2 sec window expired :p). The effects procced on Chain Lightning hit, and nothing occured on the attack projectile hit :(

But, that's a fairly unlikely circumstance since 1) what kind of unit will have a 400 speed projectile and 2) what kind of unit will have 0.000 backswing time, in your average map.

And what exactly does On_Attack_Template_Function do, or is that only used within the system?
there is an example in the map, check it out

I love this!
May I use this system in my map?
thats kind of the point...
 

Prometheus

Everything is mutable; nothing is sacred
Staff member
Reaction score
589
Just wanted to make sure I had permission.
 

emjlr3

Change can be a good thing
Reaction score
396
that has to be one of the dumbest things I have ever heard LoL
 

Prometheus

Everything is mutable; nothing is sacred
Staff member
Reaction score
589
Heh.
I've seen a person get pissed at me for using a system they posted with out asking permission.
I tend to make my own now.
 

Prometheus

Everything is mutable; nothing is sacred
Staff member
Reaction score
589
I really don't want to go into detail.
Anyhow, I'm going to use this.
Fin.
 

emjlr3

Change can be a good thing
Reaction score
396
very strange, I made update this to include a neat change someone suggested at wc3c, beware
 

emjlr3

Change can be a good thing
Reaction score
396
basically ,just adding an orb ability that is added on attack and removed on damage, to remove the chance that other damage could trigger it, which can be the case if you have a short attack animation and a slow moving missile
 

Prometheus

Everything is mutable; nothing is sacred
Staff member
Reaction score
589
Uhm, that sounds like an improvement.
 

Nathan0093

New Member
Reaction score
4
Can you please make another demo (Jass or GUI it doesnt matter) that shows how to get the damage taken and apply it again to the attacked unit? A simple example I could think of would be when a unit hits another unit from behind it would deal extra damage proportional to the damage dealt. This would help a great deal ;)
 

emjlr3

Change can be a good thing
Reaction score
396
there is such a demo trigger, it does not do that exact thing, but if you cannot figure it out from there, you need to read more tutorials in JASS
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Sunday!
    +1
  • ToshibaNuon ToshibaNuon:
    Happy sunday!
    +2
  • The Helper The Helper:
    And its Friday!
  • The Helper The Helper:
    Happy Saturday!
    +1
  • V-SNES V-SNES:
    Happy Saturday!
  • The Helper The Helper:
    Happy Monday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    Happy Friday!
    +1
  • tom_mai78101 tom_mai78101:
    Starting this upcoming Thursday, I will be in Japan for 10 days.
  • tom_mai78101 tom_mai78101:
    Thursday - Friday will be my Japan arrival flight. 9 days later, on a Sunday, will be my return departure flight.
    +2
  • The Helper The Helper:
    Hope you have safe travels my friend!
    +1
  • vypur85 vypur85:
    Wow spring time in Japan is awesome. Enjoy!
  • The Helper The Helper:
    Hopefully it will be more pleasure than work
  • vypur85 vypur85:
    Recently tried out ChatGPT about WE triggering. Wow it's capable of giving a somewhat legitimate response.
  • The Helper The Helper:
    I am sure it has read all the info on the forums here
  • The Helper The Helper:
    i think triggering is just scripting and chatgpt is real good at code
  • vypur85 vypur85:
    Yeah I suppose so. It's interesting how it can explain in so much detail.
  • vypur85 vypur85:
    But yet it won't work.
  • The Helper The Helper:
    it does a bad ass job doing excel vba code it has leveled me up at my job when I deal with excel that is for sure
  • vypur85 vypur85:
    Nice! I love Excel coding as well. Has always been using Google to help me. Maybe I'll use ChatGPT next time when I need it.
  • The Helper The Helper:
    yeah whatever it puts out even if it is not perfect I can fix it and the latest version of chatgpt can create websites from pictures it will not be long until it can do that with almost all the tools
    +1
  • The Helper The Helper:
    These new Chat AI programs are going to change everything everyone better Buckle the Fuck Up!
  • The Helper The Helper:
    oh and Happy Tuesday Evening! :)

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top