<xs:attribute name="label" use="required" type="nonEmptyString"><xs:annotation><xs:documentation>The label that will be invoked.</xs:documentation></xs:annotation></xs:attribute>
</xs:complexType>
</xs:element>
+ <xs:element name="goto_mark">
+ <xs:annotation><xs:documentation>Makes the scene go to a specific start mark given a specific condition becoming true.</xs:documentation></xs:annotation>
+ <xs:complexType>
+ <xs:attribute name="when" use="required" type="bool_expression"><xs:annotation><xs:documentation>Go to the start mark when the specified bool expression becomes true.</xs:documentation></xs:annotation></xs:attribute>
+ <xs:attribute name="label" use="required" type="nonEmptyString"><xs:annotation><xs:documentation>The label of the start mark that the scene should go to.</xs:documentation></xs:annotation></xs:attribute>
+ </xs:complexType>
+ </xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:documentation>
</xs:annotation>
<xs:whiteSpace value="collapse" />
- <xs:pattern value="\$\{.+\}" />
+ <xs:pattern value="$\{.+\}" />
</xs:restriction>
</xs:simpleType>
<xs:enumeration value="A string constant" />
<xs:enumeration value="${"A string constant"}" />
<xs:enumeration value="${variable.some_string + " will be concatenated"}" />
+ <xs:enumeration value="${to_lower(variable.some_string)}" />
+ <xs:enumeration value="${to_upper(variable.some_string)}" />
<xs:enumeration value="${"Concatenate string with number: " + variable.some_number}" />
<xs:enumeration value="${"Concatenate string with different strings based on bool: " + (variable.some_bool ? "Enabled" : "Disabled")}" />
<xs:enumeration value="${mouse_x < 640 ? "Left of middle" : variable.message_when_right_of_middle}" />
<xs:enumeration value="${sin(angle)}" />
<xs:enumeration value="${cos(angle)}" />
<xs:enumeration value="${abs(value)}" />
+ <xs:enumeration value="${floor(value)}" />
+ <xs:enumeration value="${length(str)}" />
<xs:enumeration value="${animate(expression_to_animate, duration, tweener)}" />
<xs:enumeration value="${animate(layer.to_follow.x, 200, "easeoutelastic")}" />
</xs:restriction>