@kismet.ts/core / Exports / SequenceEvent
Class: SequenceEvent<T>
Type parameters
| Name | Type |
|---|---|
T | extends Object = {} |
Hierarchy
↳
SequenceEvent
Table of contents
Constructors
Properties
- clientSideOnly
- commentOptions
- connections
- enabled
- hasBreakpoint
- id
- inputs
- name
- playerOnly
- raw
- rawData
- sequence
- trigger
- type
Accessors
Methods
- breakAllLinks
- equals
- getConnection
- hideUnusedConnections
- isAction
- isCondition
- isEvent
- isSequence
- isSequenceActionNode
- isSequenceItem
- isSequenceNode
- isVariable
- on
- setBreakpoint
- setComment
- setDisabled
- setDisplay
- setPosition
- setProperty
- setSequence
- setTrigger
- setVariable
- showAllConnections
- toJSON
- toString
- fromJSON
- fromRaw
Constructors
constructor
• new SequenceEvent<T>(options)
Type parameters
| Name | Type |
|---|---|
T | extends Object = {} |
Parameters
| Name | Type |
|---|---|
options | T & BaseKismetEventOptions & BaseKismetItemOptions |
Overrides
Defined in
Properties
clientSideOnly
• clientSideOnly: boolean
See
https://docs.unrealengine.com/udk/Three/KismetUserGuide.html#Client%20Side%20Kismet
Defined in
commentOptions
• commentOptions: KismetComment = {}
Inherited from
Defined in
connections
• connections: KismetConnections
Inherited from
Defined in
enabled
• enabled: boolean
Defined in
hasBreakpoint
• hasBreakpoint: boolean = false
Inherited from
Defined in
id
• Readonly id: ProcessId
Inherited from
Defined in
inputs
• Protected inputs: Object
Type declaration
| Name | Type |
|---|---|
input? | string[] |
output? | string[] |
variable? | string[] |
Inherited from
Defined in
name
• name: string
Inherited from
Defined in
playerOnly
• playerOnly: boolean
Defined in
raw
• raw: [string, KismetVariableValue][] = []
Inherited from
Defined in
rawData
• rawData: BaseKismetItemRawData
Inherited from
Defined in
sequence
• sequence: string
Inherited from
Defined in
trigger
• trigger: Object
The trigger options for this event
Type declaration
| Name | Type |
|---|---|
delay | number |
maxCount | number |
Defined in
type
• Readonly type: null | SequenceItemTypeName
Inherited from
Defined in
Accessors
ClassData
• get ClassData(): Record<"Class" | "ClassType" | "Package", string>
Returns
Record<"Class" | "ClassType" | "Package", string>
Inherited from
SequenceNode.ClassData
Defined in
baseJSON
• Private get baseJSON(): Record<string, KismetVariableValue>
Returns
Record<string, KismetVariableValue>
Inherited from
SequenceNode.baseJSON
Defined in
category
• get category(): undefined | string
Returns
undefined | string
Inherited from
SequenceNode.category
Defined in
linkId
• get linkId(): string
Returns
string
Inherited from
SequenceNode.linkId
Defined in
position
• get position(): KismetPosition
Returns
Inherited from
SequenceNode.position
Defined in
rawName
• get rawName(): string
Returns
string
Inherited from
SequenceNode.rawName
Defined in
Methods
breakAllLinks
▸ 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
Defined in
equals
▸ equals(item): boolean
Check whether another item is of the same type as this item
Parameters
| Name | Type |
|---|---|
item | SequenceItemType |
Returns
boolean
Inherited from
Defined in
getConnection
▸ getConnection(type, connectionName?): null | BaseKismetConnection | KismetConnection
Parameters
| Name | Type |
|---|---|
type | KismetConnectionType |
connectionName? | string |
Returns
null | BaseKismetConnection | KismetConnection
Inherited from
Defined in
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
isAction
▸ isAction(): this is SequenceAction
Returns
this is SequenceAction
Inherited from
Defined in
isCondition
▸ isCondition(): this is SequenceCondition
Returns
this is SequenceCondition
Inherited from
Defined in
isEvent
▸ isEvent(): this is SequenceEvent<Object>
Returns
this is SequenceEvent<Object>
Inherited from
Defined in
isSequence
▸ isSequence(): this is Sequence
Returns
this is Sequence
Inherited from
Defined in
isSequenceActionNode
▸ isSequenceActionNode(): this is SequenceAction | SequenceCondition
Returns
this is SequenceAction | SequenceCondition
Inherited from
SequenceNode.isSequenceActionNode
Defined in
isSequenceItem
▸ isSequenceItem(): this is SequenceItemType
Returns
this is SequenceItemType
Inherited from
Defined in
isSequenceNode
▸ isSequenceNode(): this is SequenceAction | SequenceCondition | SequenceEvent<Object>
Returns
this is SequenceAction | SequenceCondition | SequenceEvent<Object>
Inherited from
Defined in
isVariable
▸ isVariable(): this is SequenceVariable
Returns
this is SequenceVariable
Inherited from
Defined in
on
▸ on<T>(name, to): SequenceEvent<T>
Type parameters
| Name | Type |
|---|---|
T | extends SequenceNode<T> |
Parameters
| Name | Type |
|---|---|
name | string |
to | Object |
to.item | T |
to.name? | string |
Returns
Defined in
setBreakpoint
▸ setBreakpoint(enabled): SequenceEvent<T>
Parameters
| Name | Type |
|---|---|
enabled | boolean |
Returns
Inherited from
Defined in
setComment
▸ setComment(comment): SequenceEvent<T>
Set a comment on this item. This comment will be visible in the editor
Parameters
| Name | Type | Description |
|---|---|---|
comment | string | { comment?: string ; outputCommentToScreen?: boolean ; supressAutoComment?: boolean } | The text of the comment or the text in combination with comment options |
Returns
Inherited from
Defined in
setDisabled
▸ setDisabled(): SequenceEvent<T>
Disable this event
Returns
Defined in
setDisplay
▸ setDisplay(options): SequenceEvent<T>
Set the client / player display options
Parameters
| Name | Type |
|---|---|
options | Object |
options.client? | boolean |
options.player? | boolean |
Returns
Defined in
setPosition
▸ setPosition(position, offset?): SequenceEvent<T>
Set a new position for this item
Parameters
| Name | Type | Description |
|---|---|---|
position | KismetPosition | The new position coordinates |
offset? | boolean | Whether to use the new position as an offset to the current position (default: false) |
Returns
Inherited from
Defined in
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
| Name | Type | Description |
|---|---|---|
...properties | { name: string ; value: KismetVariableValue }[] | The properties to set. Will not overwrite currently set properties |
Returns
Inherited from
Defined in
setSequence
▸ setSequence(sequence, addToSequence?): SequenceEvent<T>
Change the sequence of this item
Parameters
| Name | Type | Description |
|---|---|---|
sequence | string | Sequence | The new sequence of this item: the linkId or the sequence itself |
addToSequence? | boolean | If 'sequence' is the new sequence, whether to add the item to the sequence |
Returns
Inherited from
Defined in
setTrigger
▸ setTrigger(options): SequenceEvent<T>
Set the trigger options for this event
Parameters
| Name | Type |
|---|---|
options | Object |
options.delay? | number |
options.max? | number |
Returns
Defined in
setVariable
▸ setVariable(variableName, value, hidden?): SequenceEvent<T>
Parameters
| Name | Type |
|---|---|
variableName | string |
value | string | number | SequenceVariable |
hidden? | boolean |
Returns
Inherited from
Defined in
showAllConnections
▸ showAllConnections(): void
Show all connection sockets.
Same as the editor right click > Show all connectors
Returns
void
Inherited from
SequenceNode.showAllConnections
Defined in
toJSON
▸ toJSON(): Record<string, KismetVariableValue>
Returns
Record<string, KismetVariableValue>
Overrides
Defined in
toString
▸ toString(): string
Returns
string
Overrides
Defined in
fromJSON
▸ Static fromJSON(input): BaseSequenceItem
Converts an object to an item ands sets all other variables on the item. Special object keys:
Parameters
| Name | Type |
|---|---|
input | Record<string, KismetVariableValue> |
Returns
Inherited from
Defined in
fromRaw
▸ Static fromRaw(input): BaseSequenceItem
Converts a two dimensional array of properties to an object. Then calls fromJSON with the object
Parameters
| Name | Type |
|---|---|
input | [string, KismetVariableValue][] |