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

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