@kismet.ts/core / Exports / SequenceCondition

Class: SequenceCondition

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new SequenceCondition(options)

Parameters

NameType
optionsBaseKismetActionOptions & KismetObjectCommentOptions & BaseKismetItemOptions

Overrides

SequenceAction.constructor

Defined in

structures/Condition.ts:7open in new window

Properties

commentOptions

commentOptions: KismetComment = {}

Inherited from

SequenceAction.commentOptions

Defined in

item/base.ts:62open in new window


connections

connections: KismetConnections

Inherited from

SequenceAction.connections

Defined in

item/base.ts:64open in new window


hasBreakpoint

hasBreakpoint: boolean = false

Inherited from

SequenceAction.hasBreakpoint

Defined in

item/node.ts:11open in new window


id

Readonly id: ProcessId

Inherited from

SequenceAction.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

SequenceAction.inputs

Defined in

item/base.ts:75open in new window


name

name: string

Inherited from

SequenceAction.name

Defined in

item/base.ts:68open in new window


raw

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

Inherited from

SequenceAction.raw

Defined in

item/base.ts:70open in new window


rawData

rawData: BaseKismetItemRawData

Inherited from

SequenceAction.rawData

Defined in

item/base.ts:71open in new window


sequence

sequence: string

Inherited from

SequenceAction.sequence

Defined in

item/base.ts:65open in new window


type

Readonly type: null | SequenceItemTypeName

Inherited from

SequenceAction.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

SequenceAction.ClassData

Defined in

item/base.ts:142open in new window


baseJSON

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

Returns

Record<string, KismetVariableValue>

Inherited from

SequenceAction.baseJSON

Defined in

item/base.ts:115open in new window


category

get category(): undefined | string

Returns

undefined | string

Inherited from

SequenceAction.category

Defined in

item/base.ts:138open in new window


linkId

get linkId(): string

Returns

string

Inherited from

SequenceAction.linkId

Defined in

item/base.ts:146open in new window


position

get position(): KismetPosition

Returns

KismetPosition

Inherited from

SequenceAction.position

Defined in

item/base.ts:150open in new window


rawName

get rawName(): string

Returns

string

Inherited from

SequenceAction.rawName

Defined in

item/base.ts:133open in new window

Methods

addOutputConnection

addOutputConnection(from, to): SequenceCondition

Adds a new output connection

Parameters

NameTypeDescription
fromObjectData from this node
from.namestring-
toObjectThe node to connect to
to.itemSequenceNode-
to.namestring-

Returns

SequenceCondition

Inherited from

SequenceAction.addOutputConnection

Defined in

structures/Action.ts:49open in new window


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

SequenceAction.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

SequenceAction.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

SequenceAction.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

SequenceAction.hideUnusedConnections

Defined in

item/base.ts:173open in new window


isAction

isAction(): this is SequenceAction

Returns

this is SequenceAction

Inherited from

SequenceAction.isAction

Defined in

item/_base.ts:29open in new window


isCondition

isCondition(): this is SequenceCondition

Returns

this is SequenceCondition

Inherited from

SequenceAction.isCondition

Defined in

item/_base.ts:33open in new window


isEvent

isEvent(): this is SequenceEvent<Object>

Returns

this is SequenceEvent<Object>

Inherited from

SequenceAction.isEvent

Defined in

item/_base.ts:37open in new window


isSequence

isSequence(): this is Sequence

Returns

this is Sequence

Inherited from

SequenceAction.isSequence

Defined in

item/_base.ts:41open in new window


isSequenceActionNode

isSequenceActionNode(): this is SequenceAction | SequenceCondition

Returns

this is SequenceAction | SequenceCondition

Inherited from

SequenceAction.isSequenceActionNode

Defined in

item/_base.ts:49open in new window


isSequenceItem

isSequenceItem(): this is SequenceItemType

Returns

this is SequenceItemType

Inherited from

SequenceAction.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

SequenceAction.isSequenceNode

Defined in

item/_base.ts:53open in new window


isVariable

isVariable(): this is SequenceVariable

Returns

this is SequenceVariable

Inherited from

SequenceAction.isVariable

Defined in

item/_base.ts:60open in new window


setBreakpoint

setBreakpoint(enabled): SequenceCondition

Parameters

NameType
enabledboolean

Returns

SequenceCondition

Inherited from

SequenceAction.setBreakpoint

Defined in

item/node.ts:20open in new window


setComment

setComment(comment): SequenceCondition

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

SequenceCondition

Inherited from

SequenceAction.setComment

Defined in

item/base.ts:216open in new window


setPosition

setPosition(position, offset?): SequenceCondition

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

SequenceCondition

Inherited from

SequenceAction.setPosition

Defined in

item/base.ts:244open in new window


setProperty

setProperty(...properties): SequenceCondition

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

SequenceCondition

Inherited from

SequenceAction.setProperty

Defined in

item/base.ts:258open in new window


setSequence

setSequence(sequence, addToSequence?): SequenceCondition

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

SequenceCondition

Inherited from

SequenceAction.setSequence

Defined in

item/base.ts:273open in new window


setTargets

setTargets(objects): SequenceCondition

Set the targets for this node

Parameters

NameTypeDescription
objectsstring[]The object references to the targets

Returns

SequenceCondition

Inherited from

SequenceAction.setTargets

Defined in

structures/Action.ts:83open in new window


setVariable

setVariable(variableName, value, hidden?): SequenceCondition

Parameters

NameType
variableNamestring
valuestring | number | SequenceVariable
hidden?boolean

Returns

SequenceCondition

Inherited from

SequenceAction.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

SequenceAction.showAllConnections

Defined in

item/base.ts:186open in new window


toJSON

toJSON(): Record<string, KismetVariableValue>

Returns

Record<string, KismetVariableValue>

Inherited from

SequenceAction.toJSON

Defined in

item/node.ts:64open in new window


toString

toString(): string

Returns

string

Inherited from

SequenceAction.toString

Defined in

item/node.ts:79open 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

SequenceAction.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

SequenceAction.fromRaw

Defined in

item/base.ts:322open in new window