Page 1 of 1
Value
Posted: Thu Dec 10, 2009 9:46 pm
by y offs et
Just asking for a clarification of the word "Value".
FileMoveData doc refers to FileDemo, where TileId.Value is used.
Yet Value doesn't show up with code completion, and I can't find any description of it anywhere. It works as displayed, but this question will come up again without some doc somewhere.
Posted: Thu Dec 10, 2009 10:16 pm
by VilleK
"DefineVariable" component has a property called "Value". But since you don't want to use "X.Value" etc the expression editor allow you to type just "X".
When property is a reference to another property, such as AnimatorSimple.Target, you need to type the full "componentname.propertyname" syntax to specify the property.
The "Value" and "IntValue" properties are documented here:
http://www.zgameeditor.org/index.php/Co ... neVariable
Posted: Fri Dec 11, 2009 2:32 am
by y offs et
So how does -
Writing Expressions
.Global properties
..Value
..IntValue
seem to you?
Posted: Fri Dec 11, 2009 1:04 pm
by VilleK
You mean as an alternative structure for the documentation for writing expressions? I'm not sure how important it is to learn about more Value/IntValue, I'd rather see it as a technical detail. However, they should appear in code-completion, so I will change the code so that all the properties are visible.