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

[Trigger] Custom Value

Status
Not open for further replies.
Level 10
Joined
Jun 1, 2008
Messages
485
this will sound bit noobish:con:, but let me start.
1. I see custom value is only used in trigger, are same unit type can have same custom value?
2. Can Different unit type can have same custom value? and what that affect some trigger?
3. Are custom value of units will last forever until the games end, or will disappear after some time?
4. Does custom value cause leak and need to cleaned?
5. If i set the custom value of units to 0, does it will have 0 custom value, or doesn't have any custom value? which will happen?
6. Can units have negative custom value? If not, what happen when i give negative custom value to units? it change to zero, or changed to positive value (ex: -5 changed to 5)?

That's all, sound noobish, but I'm *bit* new to trigger, so please helps:con:.
 
Level 10
Joined
Jun 1, 2008
Messages
485
ok, thanks for answer! if i can give some +rep...:con:

Just couple more Questions:
1. If i give custom value to units, then units killed (or removed from the game), are the units still get custom value?
2. How can i remove custom value from unit? is it possible?

ok, that's all. thank you.:cool:
 
Last edited:
Status
Not open for further replies.
Top