Updated ambient_sound_interval

This commit is contained in:
DaanV2
2022-06-07 20:24:11 +02:00
parent b9f0ac6769
commit 4055ed9228

View File

@@ -11,17 +11,36 @@
"description": "Level sound event to be played as the ambient sound.", "description": "Level sound event to be played as the ambient sound.",
"title": "Event Name" "title": "Event Name"
}, },
"event_names": {
"type": "array",
"description": "List of dynamic level sound events, with conditions for choosing between them. Evaluated in order, first one wins. If none evaluate to true, 'event_name' will take precedence.",
"items": {
"type": "object",
"properties": {
"condition": {
"type": "string",
"description": "The condition that must be satisfied to select the given ambient sound",
"title": "Condition"
},
"event_name": {
"type": "string",
"description": "Level sound event to be played as the ambient sound.",
"title": "Event Name"
}
}
}
},
"range": { "range": {
"title": "Range",
"type": "number", "type": "number",
"default": 16, "default": 16.0,
"description": "Maximum time in seconds to randomly add to the ambient sound delay time.", "description": "Maximum time in seconds to randomly add to the ambient sound delay time."
"title": "Range"
}, },
"value": { "value": {
"title": "Value",
"type": "number", "type": "number",
"default": 8, "default": 8.0,
"description": "Minimum time in seconds before the entity plays its ambient sound again", "description": "Minimum time in seconds before the entity plays its ambient sound again."
"title": "Value"
} }
}, },
"examples": [ "examples": [