2
.5 Potion Time
So basically, I have a little game in the works which is multiplayer. I want this levitation effect to last .5 seconds, since 1 is too long. No other effects are on, and I need help making a makeshift fix for multiplayer. I don't know if it's possible, but if anyone's got not too terribly complex ideas (since its a small-ish gimmick) please tell!
Wish it was in the default game.
Oh, yeah, the effect triggers when you enter a certain block, for extra info.
Wish it was in the default game.
Oh, yeah, the effect triggers when you enter a certain block, for extra info.
Create an account or sign in to comment.
3
You can make a scoreboard timer to detect when a half second is up and force remove levitation from the person
- Apply levitation and start timer score on the person
- When half a second (10 ticks) is up remove leviation
- Reset score
This may work, but how do I make each individual player have it work?
/execute as @a[tag=<trigger_tag>] run <functions>
/execute as @a[tag=<trigger_tag>] run tag @s remove <trigger_tag>
1st command will split into commands that do follow my bullet points
2nd command removes the tag so they dont fly up forever
/execute as @a[tag=<trigger_tag>] run tag @s remove <trigger_tag>
1st command will split into commands that do follow my bullet points
2nd command removes the tag so they dont fly up forever