• 🏆 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!

Need a way to store values

Status
Not open for further replies.
Level 12
Joined
Sep 4, 2007
Messages
407
I need a way to store integer and real values in units without using triggers, only world edit. This values might be constant and not be edited by triggers, but it must be possible to be detected by triggers. i prefer real, but if there are only integers, it's ok.

something like unit life, or unit mana or custom value (i know it's not world edit but is easy to use) (of course i don't want those 3)
 
Level 4
Joined
May 17, 2005
Messages
94
'Stats - Point Value' is an integer which can be set the Stats category of unit options. The only downside is that it will throw off score counting.


If you have just ground units, you can set 'Movement - Height' and use it as a stored real without damaging anything.


There are probably more.
 
Status
Not open for further replies.
Top