Added loop_delay

This commit is contained in:
DaanV2
2021-02-16 01:00:41 +01:00
parent 0bcdac7ea3
commit 672ae1aa25
2 changed files with 14 additions and 11 deletions

View File

@@ -309,7 +309,11 @@
}
]
},
"loop_delay": {
"title": "Loop delay",
"description": "How long to wait in seconds before looping this animation. Note that this expression is evaluated after each loop and on looping animation only.",
"$ref": "../../../molang/1.8.0/number.json"
},
"override_previous_animation": {
"title": "Override previous animation",
"description": "Reset bones in this animation to the default pose before applying this animation.",
@@ -343,12 +347,8 @@
"title": "Sound effect",
"description": "TODO",
"type": "object",
"propertyNames": {
"pattern": "^[\\d.]+$"
},
"additionalProperties": {
"$ref": "#/definitions/SoundEffect"
}
"propertyNames": { "pattern": "^[\\d.]+$" },
"additionalProperties": { "$ref": "#/definitions/SoundEffect" }
},
"timeline": {
"title": "Timeline",

View File

@@ -135,7 +135,7 @@
"description": "The animation specification for 1.8.0",
"properties": {
"anim_time_update": {
"title": "Start delay",
"title": "Anim time update",
"description": "How does time pass when playing the animation. Defaults to \"query.anim_time + query.delta_time\" which means advance in seconds.",
"$ref": "../../../molang/1.8.0/number.json"
},
@@ -300,15 +300,18 @@
"title": "Loop",
"description": "Should this animation stop, loop, or stay on the last frame when finished (true, false, hold_on_last_frame)",
"oneOf": [
{
"type": "boolean"
},
{ "type": "boolean" },
{
"type": "string",
"enum": ["hold_on_last_frame"]
}
]
},
"loop_delay": {
"title": "Loop delay",
"description": "How long to wait in seconds before looping this animation. Note that this expression is evaluated after each loop and on looping animation only.",
"$ref": "../../../molang/1.8.0/number.json"
},
"override_previous_animation": {
"title": "Override previous animation",
"description": "Reset bones in this animation to the default pose before applying this animation.",