#(nasrulswd) how can i make thirst system using denizen plugin ??
49 messages · Page 1 of 1 (latest)
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.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
I think you should start with the idea of how the mechanics will work
how does my thirst go down?
what external variables affects the speed it goes down
what effects would it apply if it gets depleted
how will the player replenish their thirst
those kinds of mechanics
and I assume you haven't started on the basics of denizen so you can start here
!guide
View the Denizen Beginner's Guide at https://guide.denizenscript.com/
otherwise, post a code of what you've done so far and what are you trying to do currently
when I said mechanics, its conceptual
think of it as writing what you want to happen in sentences first
thats your checklist
then after you're done with checklist,
apply it in denizen
I can assure you its 100% possible with denizen
thanks for your advice
thirst_system:
type: world
debug: false
events:
on player walks:
- if !<server.flag[thirst]>:
- flag server thirst:++ <-----(how can i limit this value)
- if <player.is_sprinting>:
- if <player.flag[thirst]> = 0: <-----(how can i set on player first spawn set default the value to 20)
^ (how can i give effect to player)
anyone can help me?
First please answer the questions above ^, to properly help you we need to know exactly what are you trying to do
ignore the ^ ..typo
why are you flagging the server with thirst??
idk i am trying
can u help me 😦
answer the questions above
what are you doing in your code hete
i am try to make player have thirst flag and idk how to set the flag value for example the max is 20 the min is 0 ... if player sprinting the flag is going down...and if the flag player is 0 ,,player will get effect
@rustic token can u help me ?
i have no idea to do
go through the denizen guide first.
clearly you're jumping the gun.
as I said before organize the mechanics.
once you organize the mechanics, break them down to steps and convert those steps into denizen code.
!guide
View the Denizen Beginner's Guide at https://guide.denizenscript.com/
Don't ping for help. https://denizenscript.com/discord_rules#rule3
"Pinging" refers to using an @ to alert somebody to your post.
Generally only ping somebody if your message is very specifically directed at them (meaning, only that person has anything to do with the information in your message, and it would be confusing who it was for without the ping).
If you're asking a question, please just make a forum post and ask.
If you have a bug report or a feature request, please just make a forum post about it.
If this is pulled up for you by a helper, your ping was unneeded.
If you're arguing about it, you're wrong.
i am sorry
@gilded imp
Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.
You can keep the post open - we can help you with this specific script, but you need to have a grasp of the basics first (I.e. proeprly going through the guide)