ValueAdd Extension
version 1.0.9.0
Purpose
Adds an unlimited number of "extension" alterable values and strings to any object, even those that don't normally have alterable values.
Compatibility
MMF2 Standard b244 and above
MMF2 HWA b249 and above
MMF2 Unicode b249 and above (?)
Actions
Set Ext. Alt. Value
Sets an extension alterable value on an object to a value/expression.
Spread Value in Ext. Alt. Value
Sets an extension alterable value on an object to a sequence of values starting with a value/expression.
Set Ext. Alt. String
Sets an extension alterable string on an object to a string/expression.
Conditions
Compare to Ext. Alt. Value
Compare to the value of an extension alterable value on an object.
Compare to Ext. Alt. String
Compare to an extension alterable string on an object.
Expressions
Get Ext. Alt. Value
Retrieve the value of an extension alterable value for an object (identified by fixed value).
Usage: alt("ValueAdd", fixed("Name of Object/Qualifier"), "Ext Alt Value Name")
Get Ext. Alt. String
Retrieve an extension alterable string for an object (identified by fixed value).
Usage: alt$("ValueAdd", fixed("Name of Object/Qualifier"), "Ext Alt String Name")
Known issues
Unicode support is untested.
Changelog
1.09
Added Strings.
1.08
Added Save/Load frame support.
1.07
Fix bug with my fixed value -> object lookup code that caused ValueAdd to break completely and zero all values after running for 32,768 ticks (frames?).
1.06
Fix bugs with comparisons failing that shouldn't have when encountering an object with no extended alterable values.
1.05.1
Fixes another crash related to triggered events (fast-function / fast-loop etc).
1.05
Adds MMF2 HWA and Unicode support.
Fixes a crash, I think related to triggered events (fast-function / fast-loop etc).
1.05 beta
By Yves (of Clickteam). Adds MMF2 HWA and Unicode support.
1.0.4
Fix selection error when using a qualifier with Compare to Ext. Alt. Value
and all of one type of object fails the comparison, and any other object in the qualifier passes.
1.0.3
Fix for crash when setting the Ext. Alt. Value of an object type with no object instances.
1.0.2
Added Spread Ext. Alt. Value
1.0.1
Fixed comparisons against an Ext. Alt. Value that hadn't been set yet so that they didn't always fail. The value is now treated as being "0.0", same as the get expression.
1.0
First version.