• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

attribute variable to a real variable?

Status
Not open for further replies.
Level 4
Joined
Aug 30, 2008
Messages
82
Set TempReal = (Real((Strength of (Triggering unit) (Include bonuses))))

so im trying to make the above action.


Yet this is all i got...

Set TempReal = (strength of (triggering unit) (include bonuses))

how do i add the (real( right before (strength of (


TempReal is an integer. And im creating a custom spell that deals damage equal to the strength of a hero.

appreciate the help..
 
Level 4
Joined
Aug 30, 2008
Messages
82
ok how do i do GUI and add the (real( conversion.

im noob with triggers.

someone explain this to me better. step by step would be nice as.
 
Status
Not open for further replies.
Top