unreal.BTTask_PlaySound¶
- class unreal.BTTask_PlaySound(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BTTaskNodePlay Sound task node. Plays the specified sound when executed.
C++ Source:
Module: AIModule
File: BTTask_PlaySound.h
Editor Properties: (see get_editor_property/set_editor_property)
ignore_restart_self(bool): [Read-Write] if set, task search will be discarded when this task is selected to execute but is already runningnode_name(str): [Read-Write] node namesound_to_play(ValueOrBBKey_Object): [Read-Write] CUE to play