Arqade Asked by Adam Soong on July 14, 2021
I’m fairly new to using commands. I am working on a little project about a mini-game and i’ve come to a roadblock. I am using Visual Studio Code to work on this project and have set up my own data pack. In this mini-game there are different waves. For wave 1 there are 12 enemies.
I’ve set up a scoreboard system so when 1 enemy is killed it adds 1 to the scoreboard. To activate Wave 2 i’ve set up a command:
execute if score @e[type=armor_stand,limit=1,sort=nearest,tag=test] monster matches 12 run schedule function mc:wave_two 1t append
I’ve put this command in a tick function so it’ll run every 1 tick. The issue with this is that once the conditions are met it’ll constantly run this command. Can I make the condition stop checking once it works?
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP