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

can i detect the level of an ability for a real number?

Status
Not open for further replies.
Level 9
Joined
Dec 1, 2010
Messages
346
So basicly i m making a custom pasive ability for my project,
i'm kinda stuck at this part.
i want to use the level of the ability and multiply it using the x function arthimetic
but i found no way to check the level of an ability,
Is there a way i can make my real variable into the level of a certain ability?
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
Use "Conversion - Integer to Real"
nKPwMui.png


It allows you to choose an integer and converts it into a real.
Then, you select as integer "Unit - Level of <ability> for <unit>".
 
Level 9
Joined
Dec 1, 2010
Messages
346
Edit:
Use "Conversion - Integer to Real"
nKPwMui.png


It allows you to choose an integer and converts it into a real.
Then, you select as integer "Unit - Level of <ability> for <unit>".

this is what i needed,
didn't really know what integers or conversion were lawl, was looking in hastables wich was completely wrong
so would most likely never have found this :/
 
Status
Not open for further replies.
Top