unreal.AnimNode_RandomPlayer

class unreal.AnimNode_RandomPlayer(entries=[], shuffle_mode=False)

Bases: unreal.AnimNode_Base

Anim Node Random Player

C++ Source:

  • Module: AnimGraphRuntime

  • File: AnimNode_RandomPlayer.h

Editor Properties: (see get_editor_property/set_editor_property)

  • entries (Array(RandomPlayerSequenceEntry)): [Read-Write] List of sequences to randomly step through

  • shuffle_mode (bool): [Read-Write] When shuffle mode is active we will never loop a sequence beyond MaxLoopCount without visiting each sequence in turn (no repeats). Enabling this will ignore ChanceToPlay for each entry

property entries

[Read-Write] List of sequences to randomly step through

Type

(Array(RandomPlayerSequenceEntry))

property shuffle_mode

[Read-Write] When shuffle mode is active we will never loop a sequence beyond MaxLoopCount without visiting each sequence in turn (no repeats). Enabling this will ignore ChanceToPlay for each entry

Type

(bool)