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

[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