Table of Contents

Class EntityBehaviorIdleAnimations

Namespace
Vintagestory.GameContent
Assembly
VSSurvivalMod.dll

Plays random animation from predefined list of idle animations when entity isn't moving or mounted on another entity.
Uses the "idleanimations" code Open in GitHub

[DocumentAsJson]
public class EntityBehaviorIdleAnimations : EntityBehavior
Inheritance
EntityBehaviorIdleAnimations

Examples

"behaviors": [
 {
     "code": "idleanimations"
 },
],

Properties

randomIdleAnimations (Required)

Predefined list of idle animations that get played randomly when entity is idle

[DocumentAsJson("Required", "", true)]
private string[] randomIdleAnimations

Property Value

string[]