Jump to content
Sign in to follow this  
D. Patterson

Alternatives to deleteVehicle?

Recommended Posts

When I deleteVehicle on an object that was attached to a rope, I get CTD, is there other code I can use to accomplish the same thing?

Share this post


Link to post
Share on other sites

Don't know much about the new sling loading and ropes, but did you detatch the rope / object first and then delete the object? The CTD sounds bad though. Maybe a ticket is needed?

Share this post


Link to post
Share on other sites

I'm still playing with these new commands, but what I understand you have to do is ropeCreate then ropeDetach then ropeDestroy

For example

_chopper ropeDetach _slingrope;
ropeDestroy _slingrope;

In the above example I had created the _slingrope with

_slingrope = ropeCreate [_chopper, "slingload0", _cargo, [0,0,0], _slingropeoffset];

Bear in mind this is WIP.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×