Custom Loading Screen

Custom Loading Screen

3M Downloads

Add actions that can be performed at any time

AlexIIL opened this issue ยท 0 comments

commented

Add something similar to

"actions":[
    {
        "type":"sound",
        "conditionStart":"loaded = true",
        "conditionEnd":"false",
        "arguments":[
            "sound/to/play"
        ],
        "repeat":"false"
    },
    {
        "type":"sound",
        "conditionStart":"firstTick = true",
        "conditionEnd":"loaded = true",
        "arguments":[
            "sound/to/repeat"
        ]
    }
]

Where "sound" would play a sound, starting when "conditionStart" resolved to true, looping it until "conditionEnd" resolved to true. Note that non repeating sounds end themselves after a while, so conditionEnd is ignored.