@kismet.ts/core / Exports / SequenceEvent

Class: SequenceEvent<T>

Type parameters

NameType
Textends Object = {}

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

• new SequenceEvent<T>(options)

Type parameters

NameType
Textends Object = {}

Parameters

NameType
optionsT & BaseKismetEventOptions & BaseKismetItemOptions

Overrides

SequenceNode.constructor

Defined in

structures/Event.ts:21open in new window

Properties

clientSideOnly

• clientSideOnly: boolean

See

https://docs.unrealengine.com/udk/Three/KismetUserGuide.html#Client%20Side%20Kismet

Defined in

structures/Event.ts:18open in new window


commentOptions

• commentOptions: KismetComment = {}

Inherited from

SequenceNode.commentOptions

Defined in

item/base.ts:62open in new window


connections

• connections: KismetConnections

Inherited from

SequenceNode.connections

Defined in

item/base.ts:64open in new window


enabled

• enabled: boolean

Defined in

structures/Event.ts:19open in new window


hasBreakpoint

• hasBreakpoint: boolean = false

Inherited from

SequenceNode.hasBreakpoint

Defined in

item/node.ts:11open in new window


id

• Readonly id: ProcessId

Inherited from

SequenceNode.id

Defined in

item/base.ts:67open in new window


inputs

• Protected inputs: Object

Type declaration

NameType
input?string[]
output?string[]
variable?string[]

Inherited from

SequenceNode.inputs

Defined in

item/base.ts:75open in new window


name

• name: string

Inherited from

SequenceNode.name

Defined in

item/base.ts:68open in new window


playerOnly

• playerOnly: boolean

Defined in

structures/Event.ts:14open in new window


raw

• raw: [string, KismetVariableValue][] = []

Inherited from

SequenceNode.raw

Defined in

item/base.ts:70open in new window


rawData

• rawData: BaseKismetItemRawData

Inherited from

SequenceNode.rawData

Defined in

item/base.ts:71open in new window


sequence

• sequence: string

Inherited from

SequenceNode.sequence

Defined in

item/base.ts:65open in new window


trigger

• trigger: Object

The trigger options for this event

Type declaration

NameType
delaynumber
maxCountnumber

Defined in

structures/Event.ts:13open in new window


type

• Readonly type: null | SequenceItemTypeName

Inherited from

SequenceNode.type

Defined in

item/_base.ts:19open in new window

Accessors

ClassData

• get ClassData(): Record<"Class" | "ClassType" | "Package", string>

Returns

Record<"Class" | "ClassType" | "Package", string>

Inherited from

SequenceNode.ClassData

Defined in

item/base.ts:142open in new window


baseJSON

• Private get baseJSON(): Record<string, KismetVariableValue>

Returns

Record<string, KismetVariableValue>

Inherited from

SequenceNode.baseJSON

Defined in

item/base.ts:115open in new window


category

• get category(): undefined | string

Returns

undefined | string

Inherited from

SequenceNode.category

Defined in

item/base.ts:138open in new window


linkId

• get linkId(): string

Returns

string

Inherited from

SequenceNode.linkId

Defined in

item/base.ts:146open in new window


position

• get position(): KismetPosition

Returns

KismetPosition

Inherited from

SequenceNode.position

Defined in

item/base.ts:150open in new window


rawName

• get rawName(): string

Returns

string

Inherited from

SequenceNode.rawName

Defined in

item/base.ts:133open in new window

Methods

▸ breakAllLinks(): void

Break all object links to other items.

Same as the editor right click > Break all links to Object(s)

Returns

void

Inherited from

SequenceNode.breakAllLinks

Defined in

item/base.ts:162open in new window


equals

▸ equals(item): boolean

Check whether another item is of the same type as this item

Parameters

NameType
itemSequenceItemType

Returns

boolean

Inherited from

SequenceNode.equals

Defined in

item/base.ts:196open in new window


getConnection

▸ getConnection(type, connectionName?): null | BaseKismetConnection | KismetConnection

Parameters

NameType
typeKismetConnectionType
connectionName?string

Returns

null | BaseKismetConnection | KismetConnection

Inherited from

SequenceNode.getConnection

Defined in

item/base.ts:200open in new window


hideUnusedConnections

▸ hideUnusedConnections(): void

Hide all connection sockets that have no connections currently.

Same as the editor right click > Hide unused connectors

Returns

void

Inherited from

SequenceNode.hideUnusedConnections

Defined in

item/base.ts:173open in new window


isAction

▸ isAction(): this is SequenceAction

Returns

this is SequenceAction

Inherited from

SequenceNode.isAction

Defined in

item/_base.ts:29open in new window


isCondition

▸ isCondition(): this is SequenceCondition

Returns

this is SequenceCondition

Inherited from

SequenceNode.isCondition

Defined in

item/_base.ts:33open in new window


isEvent

▸ isEvent(): this is SequenceEvent<Object>

Returns

this is SequenceEvent<Object>

Inherited from

SequenceNode.isEvent

Defined in

item/_base.ts:37open in new window


isSequence

▸ isSequence(): this is Sequence

Returns

this is Sequence

Inherited from

SequenceNode.isSequence

Defined in

item/_base.ts:41open in new window


isSequenceActionNode

▸ isSequenceActionNode(): this is SequenceAction | SequenceCondition

Returns

this is SequenceAction | SequenceCondition

Inherited from

SequenceNode.isSequenceActionNode

Defined in

item/_base.ts:49open in new window


isSequenceItem

▸ isSequenceItem(): this is SequenceItemType

Returns

this is SequenceItemType

Inherited from

SequenceNode.isSequenceItem

Defined in

item/_base.ts:45open in new window


isSequenceNode

▸ isSequenceNode(): this is SequenceAction | SequenceCondition | SequenceEvent<Object>

Returns

this is SequenceAction | SequenceCondition | SequenceEvent<Object>

Inherited from

SequenceNode.isSequenceNode

Defined in

item/_base.ts:53open in new window


isVariable

▸ isVariable(): this is SequenceVariable

Returns

this is SequenceVariable

Inherited from

SequenceNode.isVariable

Defined in

item/_base.ts:60open in new window


on

▸ on<T>(name, to): SequenceEvent<T>

Type parameters

NameType
Textends SequenceNode<T>

Parameters

NameType
namestring
toObject
to.itemT
to.name?string

Returns

SequenceEvent<T>

Defined in

structures/Event.ts:35open in new window


setBreakpoint

▸ setBreakpoint(enabled): SequenceEvent<T>

Parameters

NameType
enabledboolean

Returns

SequenceEvent<T>

Inherited from

SequenceNode.setBreakpoint

Defined in

item/node.ts:20open in new window


setComment

▸ setComment(comment): SequenceEvent<T>

Set a comment on this item. This comment will be visible in the editor

Parameters

NameTypeDescription
commentstring | { comment?: string ; outputCommentToScreen?: boolean ; supressAutoComment?: boolean }The text of the comment or the text in combination with comment options

Returns

SequenceEvent<T>

Inherited from

SequenceNode.setComment

Defined in

item/base.ts:216open in new window


setDisabled

▸ setDisabled(): SequenceEvent<T>

Disable this event

Returns

SequenceEvent<T>

Defined in

structures/Event.ts:70open in new window


setDisplay

▸ setDisplay(options): SequenceEvent<T>

Set the client / player display options

Parameters

NameType
optionsObject
options.client?boolean
options.player?boolean

Returns

SequenceEvent<T>

Defined in

structures/Event.ts:80open in new window


setPosition

▸ setPosition(position, offset?): SequenceEvent<T>

Set a new position for this item

Parameters

NameTypeDescription
positionKismetPositionThe new position coordinates
offset?booleanWhether to use the new position as an offset to the current position (default: false)

Returns

SequenceEvent<T>

Inherited from

SequenceNode.setPosition

Defined in

item/base.ts:244open in new window


setProperty

▸ setProperty(...properties): SequenceEvent<T>

Set a variable if the variable has no variable connection. Used for properties you can set in the properties screen in the editor.

Parameters

NameTypeDescription
...properties{ name: string ; value: KismetVariableValue }[]The properties to set. Will not overwrite currently set properties

Returns

SequenceEvent<T>

Inherited from

SequenceNode.setProperty

Defined in

item/base.ts:258open in new window


setSequence

▸ setSequence(sequence, addToSequence?): SequenceEvent<T>

Change the sequence of this item

Parameters

NameTypeDescription
sequencestring | SequenceThe new sequence of this item: the linkId or the sequence itself
addToSequence?booleanIf 'sequence' is the new sequence, whether to add the item to the sequence

Returns

SequenceEvent<T>

Inherited from

SequenceNode.setSequence

Defined in

item/base.ts:273open in new window


setTrigger

▸ setTrigger(options): SequenceEvent<T>

Set the trigger options for this event

Parameters

NameType
optionsObject
options.delay?number
options.max?number

Returns

SequenceEvent<T>

Defined in

structures/Event.ts:102open in new window


setVariable

▸ setVariable(variableName, value, hidden?): SequenceEvent<T>

Parameters

NameType
variableNamestring
valuestring | number | SequenceVariable
hidden?boolean

Returns

SequenceEvent<T>

Inherited from

SequenceNode.setVariable

Defined in

item/node.ts:28open in new window


showAllConnections

▸ showAllConnections(): void

Show all connection sockets.

Same as the editor right click > Show all connectors

Returns

void

Inherited from

SequenceNode.showAllConnections

Defined in

item/base.ts:186open in new window


toJSON

▸ toJSON(): Record<string, KismetVariableValue>

Returns

Record<string, KismetVariableValue>

Overrides

SequenceNode.toJSON

Defined in

structures/Event.ts:114open in new window


toString

▸ toString(): string

Returns

string

Overrides

SequenceNode.toString

Defined in

structures/Event.ts:128open in new window


fromJSON

▸ Static fromJSON(input): BaseSequenceItem

Converts an object to an item ands sets all other variables on the item. Special object keys:

Parameters

NameType
inputRecord<string, KismetVariableValue>

Returns

BaseSequenceItem

Inherited from

SequenceNode.fromJSON

Defined in

item/base.ts:342open in new window


fromRaw

▸ Static fromRaw(input): BaseSequenceItem

Converts a two dimensional array of properties to an object. Then calls fromJSON with the object

Parameters

NameType
input[string, KismetVariableValue][]

Returns

BaseSequenceItem

Inherited from

SequenceNode.fromRaw

Defined in

item/base.ts:322open in new window