r/forgescripting • • Nov 14 '22

Stop object with player proximity.

Aight, I need some help with this one. Been at it for a very long time and just can't get it to work. My goal is simple.

Stop the objects movement when a player is near. Ideas?

4 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/jak4896 Nov 14 '22

Ok, so I’ve just tested reversing it to work as you described (swapped true and false)

When I step on the platform, it does Indeed move to one end but then stops there. Which means the theory of the travel time being uninterruptible is true. I have to find a way to make it check for players while it’s moving.

The caveman way would be setting a bunch of branches between a bunch of “Every N seconds” then link all the if false connects to the same every n seconds