#(danil1727) Help, I need help with ambient

15 messages · Page 1 of 1 (latest)

ripe elm
#

Hello, I have a problem. I want to reproduce the ambient on the map using a script, how can I make it work when the world is on?

ambient:
    type: world
    debug: false
    events:
        on world loads:
                - playsound <server.online_players> sound:battle_loop1 custom volume:30
hollow basinBOT
#

(danil1727) Help, I need help with ambient

hollow basinBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

bitter hare
#

!event world

finite haloBOT
# bitter hare !event world
Cannot Specify Searched Event

Multiple possible events: world loads, world saves, world unloads, world initializes, entity added to world, time changes in world, entity removed from world, gamerule changes in world, weather changes|rains|clears in world, player changes world from world to world.

bitter hare
#

!event world loads

finite haloBOT
bitter hare
#

volume is for distance to be heard, not the actual volume if it exceeds 2.0

#

but is it not doing what you expected?

#

when does the world load, or what have you tried

ripe elm
#
ambient:
    type: world
    debug: false
    events:
        on server start:
            - while <server.online_players.size> != f:
                - playsound <server.online_players> sound:battle_loop1 custom volume:1
                - wait 18s
                - playsound <server.online_players> sound:battle_loop2 custom volume:1
                - wait 18s

Thanks for the help, however, I found a way out through the loop. Due to a bad translator, I was unable to properly convey the essence of my idea

#

How do I close a post?

wispy heraldBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@ripe elm