For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/PlayAnimationOptions.md.

Interface: PlayAnimationOptions

animation

Beta

包含动画播放方式的额外选项。

Contains additional options for how an animation is played.

Properties

blendOutTime?

optional blendOutTime?: number

Beta

Remarks

动画停止后淡出所需的时间。

Amount of time to fade out after an animation stops.


controller?

optional controller?: string

Beta

Remarks

指定要在实体上使用的已定义的控制器。

Specifies a controller to use that has been defined on the entity.


nextState?

optional nextState?: string

Beta

Remarks

指定要转换到的状态。

Specifies the state to transition to.


players?

optional players?: Player[]

Beta

Remarks

动画对其可见的玩家列表。

A list of players the animation will be visible to.


stopExpression?

optional stopExpression?: string

Beta

Remarks

指定此动画完成时应使用的 Molang 表达式。

Specifies a Molang expression for when this animation should complete.

同领域相关