Captain Bot Posted December 1, 2020 Share Posted December 1, 2020 Hey All: Does anyone know how to use the START_WINDING_ROPE Function? The code I'm trying to use is: if (e.KeyCode == Keys.X) { if (ropeWinding.Equals(false)) { Function.Call(Hash.START_ROPE_WINDING, rope1); ropeWinding = true; } } When I press the x key down, the rope actually unwinds and returns to normal when releasing the key. I tried START_ROPE_UNWINDING_FRONT as well but it does the same thing. I'm confused... Any help would be much appreciated. Thanks Link to comment Share on other sites More sharing options...
Captain Bot Posted December 2, 2020 Author Share Posted December 2, 2020 Got it working. It seems START_ROPE_WINDING puts slack in the rope and prepares it to accept changes to the ropes length. something like this: if (e.KeyCode == Keys.X) { float rplngth = rope1.Length; Function.Call(Hash.START_ROPE_WINDING, rope1); rope1.Length = rplngth -= .3f; Wait(10); Function.Call(Hash.STOP_ROPE_WINDING, rope1); } STOP_ROPE_WINDING pulls the slack out of the rope. Cheers suicidal_banana and LeeC22 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now