Obi Official Forum

Full Version: How to know the rope is torn?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wanna know the state of rope. Because I make a decision of rope state!

So I wonder when the rope is torn, Is there any value the rope state?
(13-10-2021, 05:03 AM)sangku2000 Wrote: [ -> ]I wanna know the state of rope. Because I make a decision of rope state!

So I wonder when the rope is torn, Is there any value the rope state?

Just subscribe to the rope's OnRopeTorn event, it will be called whenever the rope is torn. See the API docs for details.