My program doesn't have bugs. It just develops random features.

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

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"
MaxVars 255
MinVars 1

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.