How do you make it so that each time you take damage, you get slower and slower?
So:
1st hit - 0.95
2nd hit - 0.90
3rd hit - 0.85
And so on.
have searched for a bit and haven’t found the right mechanic.
Thanks!
How do you make it so that each time you take damage, you get slower and slower?
So:
1st hit - 0.95
2nd hit - 0.90
3rd hit - 0.85
And so on.
have searched for a bit and haven’t found the right mechanic.
Thanks!
you could use a life cycle and a speed changer
Do you take damage every [amount of seconds] ?
Or not?
I think I want every 2 seconds.
Then do what @hi1 said to do.
I suck at coding and devices including lifecycles. Sorry :0
I’ll see if I can work out more.
Just trying to be on topic ![]()
Can you give us some pictures of what you’re map looks like so that we can have some info because honestly pictures help me out a lot @Aguero10
![]()
Ohh well um that’s is interesting well so how are we going to figure that out
Although we should make a solution soon if we can’t find out how to do
But we could make a damager connect it to a speed monitor then connect it to the action that you want players to take damage from or a zone the test it and see if that works then if it does the repeat the process until you have what you need
But it might make your nap laggy
![]()
but you could always make the things invisible in game so that it reduces the lag then
To be honest I think my idea might work now that actually was thinking lol
there isn’t a mechanic to detect when you get dealt damage, unfortunately,
I can’t do pictures rn, but it’s pretty much a mechanic where if you run out of food/hunger, you slowly take damage and that slows you down.
Is there a way that you can combine my idea with your idea I am curious ![]()
If there is a way to do that I am NOT good at coding but I can come up with good idea if you know what I mean
Even though @DXCTYPE said
Everything is not impossible it is just hard to do
if you do it like that, then you could just make a property set it to 1 and once you being starving you just decrease on intervals
Another Forumer posted something that might help:
No need to ping people.
They will find the topic themselves as this topic has already been bumped!
ummm, ok? keep trying ig? =D
so many “Also”
Since the poster said they would receive damage every 2 seconds it should be easy
Get whatever channel you use to do damage, and connect the channel to a counter, everytime it updates, it changes the speed from a speed modifier
English is my first language but I’m not getting it…
? I’m not sure what you mean, please elaborate.
OHHH, ok, no worries! yea, I agree with auto correct being annoying lolz
Everyone experiences that feeling sometimes. The only advice I can give is:
If you can’t help, don’t post.
=D
EDIT:
Omg, I totally agree. A LOT has changed, even if I wasn’t here 2 years ago (I came here June 3, 2025), a lot has changed since then too.
Never went through it but I’m pretty sure it’s quite the drastic change so, I hope you get adjusted soon!
just came back from 2 years ago?! dw, I wont flag you
I’m pretty sure this isn’t possible via the game telling if the player took damage?
I’m pretty sure the only way to do that is wire the same thing that activated the damaging part and just make the player slower (that’s what I did)