unreal.StateTreeEvent

class unreal.StateTreeEvent(tag: GameplayTag = Ellipsis, origin: Name = 'None')

Bases: StructBase

StateTree event with payload.

C++ Source:

  • Plugin: StateTree

  • Module: StateTreeModule

  • File: StateTreeEvents.h

Editor Properties: (see get_editor_property/set_editor_property)

  • origin (Name): [Read-Write] Origin: Optional info to describe who sent the event.

  • payload (InstancedStruct): [Read-Write] Payload: Optional payload for the event.

  • tag (GameplayTag): [Read-Write] Tag: Tag describing the event

property origin: Name

[Read-Write] Origin: Optional info to describe who sent the event.

Type:

(Name)

property tag: GameplayTag

[Read-Write] Tag: Tag describing the event

Type:

(GameplayTag)