• 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.

Custom Variables?

Status
Not open for further replies.
Level 4
Joined
Jan 8, 2012
Messages
66
Okay now this might seem like a SUPER noob question, but in all these tutorials and online guides to custom spells/abilities I see, they tell you to create a variable where x = level of ability, so like for a real basic triggered spell that deals 200 damage first level, 400 damage second level, 600 damage third level, and so on and so forth, I get how to put the damage output in, but how do I make it so that it deals 200 dmg IF it's level 1, or 400 dmg IF it's level 2, and so on. Thanks for the help :ogre_hurrhurr:
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
And which list am I supposed to find Arithmetic in? Sorry but I'm really new to this D:

When clicking to edit the damage amount, select Arithmetic from the function list. It is almost at the top of the list.

Then it says 1.00 + 1.00 under it. Click the first 1.00 and set it to 200. For the other 1.00, click it and select Conversion - convert integer to real from the function list. It then says Real(Point value of Footman) under it. Change the point value to Unit - Level of ability.
 
Level 4
Joined
Jan 8, 2012
Messages
66
ahh okay thanks, now i get it :)

but there's another problem, when i learn the ability (it's based off channel) nothing happens, meaning once i learn it it doesn't go into my actionbar, is there something im doing wrong?
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
ahh okay thanks, now i get it :)

but there's another problem, when i learn the ability (it's based off channel) nothing happens, meaning once i learn it it doesn't go into my actionbar, is there something im doing wrong?

u dont chaned channel to visible
 

Attachments

  • 2.JPG
    2.JPG
    64.9 KB · Views: 61
Status
Not open for further replies.
Top