destroyRope (VBS2)

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Virtual Battlespace 2 version 1.22

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 2
Version:
1.22

Description

Description:
Destroys a PhysX rope collection.
This function considers all objects that are connected via some joint with specified object (even mediately), considers those that are having the class name "ropeClassName" and removes them from the scene.

Syntax

Syntax:
destroyRope [ropedObject, ropeClassName]
Parameters:
ropedObject: Object - Object connected to rope to be destroyed
ropeClassName: String - Name of class that represents a rope segment
Return Value:
Nothing

Examples

Example 1:
destroyRope [ropeobj, "vbs2_rope_segment"]

Additional Information

Multiplayer:
Behaviour unknown.
See also:
createRope

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!