Bas: Difference between revisions

Jump to navigation Jump to search
253 bytes added ,  4 years ago
→‎TriggerEvents: Grammar (I need to stop editing now)
imported>Ginger
(→‎Parameters: Updated headers to distinguish between types)
imported>Ginger
(→‎TriggerEvents: Grammar (I need to stop editing now))
(8 intermediate revisions by the same user not shown)
Line 145: Line 145:


==== Typed Array ====
==== Typed Array ====
A list of variables of a given type to use for various Control comparisons. Corresponds directly the Children of the node. i.e. if Value0 matches the value being compared against, the code will jump to the Element listed under Child0. If no comparison of a lower Child number has evaluated as true, automatically evaluates a Child whose value is "default" as true.{{#tag:ref|Element0 of Player_CutNinja.bas, WiiU 1.5.0|name=e0pcn}}{{#tag:ref|Element3 of Player_FaceDefault.bas, WiiU 1.5.0|name=e3pfd}}
A list of variables of a given type to use for various control comparisons. Corresponds directly to the Children of the node. i.e. if Value0 matches the value being compared against, the code will jump to the Element listed under Child0. If no comparison of a lower Child number has evaluated as true, automatically evaluates a Child whose value is "default" as true.{{#tag:ref|Element0 of Player_CutNinja.bas, WiiU 1.5.0|name=e0pcn}}{{#tag:ref|Element3 of Player_FaceDefault.bas, WiiU 1.5.0|name=e3pfd}}


==== BitIndex ====
==== BitIndex ====
Line 157: Line 157:


==== Ranges ====
==== Ranges ====
Used with Parameter TypeIndex 16. If the value being compared is above the Start value and below the End value, evaluates as true. Otherwise, moves on to the next value. (Unknown what happens if none of the Ranges evaluate to true, presumably game crash)
Used with control nodes that perform a Range evaluation. If the value being compared is above the Start value and below the End value, evaluates as true. Otherwise, moves on to the next value. (Unknown what happens if none of the Ranges evaluate to true, presumably game crash)


==== FrameCtrl ====
==== FrameCtrl ====
Used with Parameter TypeIndex 67. Required, even if it is empty.
Used with animation nodes. The node itself is required, even if it is empty (i.e. none of the keys are specified)
{| class="wikitable"
{| class="wikitable"
!Key
!Key
Line 180: Line 180:


==== TriggerEvents ====
==== TriggerEvents ====
Used with Parameter TypeIndex 67. Events which are triggered during this animation.
Used with Parameter TypeIndex 67. Possibly used with other animation node TypeIndexes, but none have so far been observed. Events which are triggered during this animation.
{| class="wikitable"
{| class="wikitable"
!Key
!Key
Line 211: Line 211:


==== HoldEvents ====
==== HoldEvents ====
Used with Parameter TypeIndex 67. States that are entered into while the animation is playing.
Used with Parameter TypeIndex 67. Possibly used with other animation node TypeIndexes, but none have so far been observed. States that are entered into while the animation is playing.
{| class="wikitable"
{| class="wikitable"
!Key
!Key
Anonymous user

Navigation menu