Skip to main content

motion.play_random

Overview

  • Pick a random motion matching the filter and play it on the target Zoi. Only motions playable by the character (gender/age/posture compatible) are considered. filter is required to constrain the candidate set (e.g. filter=dance).

Metadata

FieldValue
DisplayPlay Random Motion
Categorymotion
AccessUserCheat
ScopeB2Authority
Tags
AliasesMotionPlayRandom

Parameters

NameTypeRequiredDefaultDescription
filterstringyesKeyword filter for candidate selection (required, e.g. dance)
entity_identityIdnoTarget entity ID (default: possessed)
sectionnamenoStart section (default: Default)
positionfloatnoStart position in seconds (default: 0.0)

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('motion.play_random', {
filter: '',
entity_id: 0, // optional
section: '', // optional
position: 0.0, // optional
});