The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

Difference between revisions of "UE3:SeqVar ObjectList (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
m (1 revision: class descriptions for UDK January update (part 5))
 
(No difference)

Latest revision as of 06:47, 17 January 2010

UDK Object >> SequenceObject >> SequenceVariable >> SeqVar_Object >> SeqVar_ObjectList
Package: 
Engine
This class in other games:
UT3

An ObjectList Var is derived from the SeqVar_Object Variable so it may be used by Actions as if it were just another ObjectVar. For Actions that modify a pointed to ObjectVar Kismet object when in fact they are pointing to an ObjectList, the behavior will be semi undefined and probably will not do what they expect.

For Actions that take a set of pointed to ObjectVars and then do an action TO the actual UObject (e.g. an ExampleGamePawn), then the ObjectList will return the set of Objects it has and the action will just work.

Also, SeqVar_ObjectList objects are not persistent. ObjectLists (for now) are meant to be runtime list storage. Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties[edit]

Property group 'SeqVar_ObjectList'[edit]

ObjList[edit]

Type: array<Object>

this is our list of objects which this kismet variable holds *

Default values[edit]

Property Value
ObjColor
Member Value
A 255
B 102
G 0
R 102
ObjName "Object List"

Instance functions[edit]

GetObjectValue[edit]

function Object GetObjectValue ()

Overrides: SeqVar_Object.GetObjectValue

returns the object this variable is currently pointing to if this variable represents a list of objects, only returns the first one

SetObjectValue[edit]

function SetObjectValue (Object NewValue)

Overrides: SeqVar_Object.SetObjectValue

sets the object this variable points to