I'm a doctor, not a mechanic

Difference between revisions of "UE3:SeqCond SwitchObject (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
(Talk)
Line 46: Line 46:
 
|  
 
|  
 
{| class="list defaults"
 
{| class="list defaults"
! {{tl|SeqVarLink||SequenceOp|Member}}
+
! {{tl|SeqVarLink||SequenceOp structs|Member}}
 
! Value
 
! Value
 
|-
 
|-
Line 61: Line 61:
 
'''[[Structs#Modifiers|Modifiers]]:''' native
 
'''[[Structs#Modifiers|Modifiers]]:''' native
  
<!-- enter struct description -->
+
Stores class name to compare for each output link and whether it should fall through to next node
 
; {{cl|Object}} ObjectValue : the value of this case statement
 
; {{cl|Object}} ObjectValue : the value of this case statement
 
; [[bool]] bFallThru : indicates whether control should fall through to the next case upon a match
 
; [[bool]] bFallThru : indicates whether control should fall through to the next case upon a match

Revision as of 05:24, 17 January 2010

UDK Object >> SequenceObject >> SequenceOp >> SequenceCondition >> SeqCond_SwitchBase >> SeqCond_SwitchObject
Package: 
Engine
Direct subclass:
UICond_SwitchWidget
This class in other games:
UT3

Base class for all switch condition ops which use an object value for branching.

Properties

Property group 'SeqCond_SwitchObject'

MetaClass

Type: Class

Limits which types of objects can be used by this switch op.

Fixme: ronp - not yet implemented!

Default value: Class'Core.Object'

SupportedValues

Type: array<SwitchObjectCase>

Stores the list of values which are handled by this switch object.

Default value:

Member Value
bDefaultValue True

Default values

Property Value
ObjName "Switch Object"
VariableLinks[0]
Member Value
ExpectedType Class'Engine.SeqVar_Object'
LinkDesc "Object"

Structs

SwitchObjectCase

Modifiers: native

Stores class name to compare for each output link and whether it should fall through to next node

Object ObjectValue 
the value of this case statement
bool bFallThru 
indicates whether control should fall through to the next case upon a match
bool bDefaultValue 
true if this represents the default value option

Events

InsertValueEntry

event InsertValueEntry (int InsertIndex)

Overrides: SeqCond_SwitchBase.InsertValueEntry

Insert an empty element into this switch's value array at the specified index.

IsFallThruEnabled

event bool IsFallThruEnabled (int ValueIndex)

Overrides: SeqCond_SwitchBase.IsFallThruEnabled

Returns whether fall through is enabled for the specified case value.

RemoveValueEntry

event RemoveValueEntry (int RemoveIndex)

Overrides: SeqCond_SwitchBase.RemoveValueEntry

Remove an element from this switch's value array at the specified index.

VerifyDefaultCaseValue

event VerifyDefaultCaseValue ()

Overrides: SeqCond_SwitchBase.VerifyDefaultCaseValue

Ensures that the last item in the value array represents the "default" item. Child classes should override this method to ensure that their value array stays synchronized with the OutputLinks array.