• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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

Status
Not open for further replies.
Level 8
Joined
Dec 1, 2010
Messages
316
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,657
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 8
Joined
Dec 1, 2010
Messages
316
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