There is no spoon

UE3:SeqCond_SwitchObject (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> SequenceObject >> SequenceOp >> SequenceCondition >> SeqCond_SwitchBase >> SeqCond_SwitchObject
Package: 
Engine
Direct subclass:
UICond_SwitchWidget
This class in other games:
UDK

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

Copyright 2007 Epic Games, Inc. All Rights Reserved

Properties[edit]

Property group 'SeqCond_SwitchObject'[edit]

MetaClass[edit]

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[edit]

Type: array<SwitchObjectCase>

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

Default value:

Member Value
bDefaultValue True

Default values[edit]

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

Structs[edit]

SwitchObjectCase[edit]

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[edit]

InsertValueEntry[edit]

event InsertValueEntry (int InsertIndex)

Overrides: SeqCond_SwitchBase.InsertValueEntry

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

IsFallThruEnabled[edit]

event bool IsFallThruEnabled (int ValueIndex)

Overrides: SeqCond_SwitchBase.IsFallThruEnabled

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

RemoveValueEntry[edit]

event RemoveValueEntry (int RemoveIndex)

Overrides: SeqCond_SwitchBase.RemoveValueEntry

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

VerifyDefaultCaseValue[edit]

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.