iterami/Docs.htm/common HTM Projects/webgl.js/webgl_stat_modify(args)
- Modifies or sets a character/entity property.
- Creates the stat if it does not exist and the "has" arg is false.
- Character "life" property has extra checks to remove attached entities upon death.
- Modifying "vertex-colors" randomizes colors.
has
| true
| boolean
|
set
| false
| boolean
|
stat
|
| string
|
target
|
| character/entity object
|
value
| 1
| number
|