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

[Solved] Custom/Point Value

Status
Not open for further replies.
Level 17
Joined
Nov 13, 2006
Messages
1,814
Are Custom Value and Point Value the same thing?

Custom Value: u can set only during game, so dynamic value, but u can change a unit custom value anyy time when u want.
Usefull for unit indexer system (unit indexer usefull for damage detection system , or anywhere when u want attach data to a unit, so usefull for spells and in alot place where u want do it without hashtable)

Point Value: its constant value what u set in object editor
Usefull if u want categorize the unit types or want attach data to unit:
example every unit what got point value 2 respawn in region[2], or if u kill unit then u can get same exp or gold than his point value, or if u have alot area in map then u can set every cave mob point value to 4, and forest creeps point value to 5 (and when die u check just the point value and make different action depend on point value)
 
Status
Not open for further replies.
Top