• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Some problems of young noob

Status
Not open for further replies.
Level 7
Joined
Dec 28, 2009
Messages
257
Hello, fellows!

After long time i started working on my WC3 map again, and soon i found few problems which are like thorn in (****...) for me, and i cant solve them myself. Also, i have never been great skiller with integers. But here are two things i would like to ask:

Problem no.1:
I created basic (very basic) triggered spell, which works like this:

or little explanation: When unit attacks unit with buff "Vengeance", attacking unit is dealt damage equal to 5x damage it dealt, and then buff Vengeance dissapears (its classic spell based on inner fire with no dmg and armor bonus bonus).

However, i cant make "Generic unit event" which has the "Takes damage" event, because "Takes Damage" event is found only in "Specific unit event". And i need this trigger to work with ANY unit (which has buff, of course), not only with one (for i need to select one exact unit in "spcific unit event")
Also, when i tried "Unit is attacked" event, it didnt work.

So, how can i make such a trigger that this spell would work?
Thanks for help, i would really appreciate that :D

*ive got 1 and half more question to ask, but first i would like to know this.. :D
 
Level 7
Joined
Dec 28, 2009
Messages
257
I think i forget to mention that im noob... and after this is seems its even worse than i thought.

Yeah, you posted me some trigger, what is good, but after 5minutes of staring at it ive found one tiny problem: ive got no idea what is it supposed to mean.
After all, ive got no idea what does the "JASS" and "GUI" thing mean.
Edit: im reading some basic tutorials.

So, could you or somebody please explain me this, or how can i acclimate this for my conditions(spell)? I needed just help with 1 basic event, and this is like blueprints for building a tank.
 
Level 7
Joined
Dec 28, 2009
Messages
257
Woah!

Okay, so after few hours i finnaly got it, thanks to some people who posted how does it work into that topic.Although i think i still dont understand everything it does, at least my spell works. But still, thank you.
 
Status
Not open for further replies.
Top