#how do i detect if a player has been standing still for so long

9 messages · Page 1 of 1 (latest)

oak summit
#

I would like a system

tranquil ivy
#

check player's velocity

broken parrot
# oak summit I would like a system

Use Combatant Get Velocity, it will output the players velocity without head movement

Then, you can set a float variable Time Get Precise Seconds if the movement is not 0

Then you can detect, if current Time Get Precise Seconds is greater than that float variable + X, it will output true if they have been standing still for more than X seconds

pulsar jackal
broken parrot
pulsar jackal
#

Ohhh ok

#

I remembered something like that

broken parrot
#

If you input a Player into Distance or Get Closest or Get Farthest, it treats it as ground position
If you input a Player into Get Position, it outputs head position

#

Head position - height = ground position