Ropes and Sling Loading
22 scripting commands. Also as Markdown for agents.
- canSlingLoadReturns true if setSlingLoad is possible.
- enableRopeAttachEnables or disables the ability to be attached to a rope end for the given entity.
- getSlingLoadReturn object which is sling loaded by vehicle
- getTowParentGet the vehicle towing the provided one.
- ropeAttachedObjectsReturns an array of all entities that are attached to the transport with ropes. This command is the opposite of ropeAttachedTo.
- ropeAttachedToReturns the owner of the first rope - the transport to which other entities are attached with ropes. This command is the opposite of…
- ropeAttachEnabledReturns true if entity can be attached to a rope end.
- ropeAttachToAttaches entity to the rope end with optional offset. For detach operation use ropeDetach.
- ropeCreateCreates a PhysX rope with given params. Since Arma 3 v2.14 the optional arguments can be skipped by setting them to nil.
- ropeCutCuts the given rope to the specified length. If some entity was attached to the end of the rope, it will be detached.
- ropeDestroyDestroys the given rope. If the rope is attached to a vehicle, it will be detached and then destroyed.
- ropeDetachDetaches attached object from rope (i.e. detaches rope end from attached to it entity). See ropeAttachTo for attach operation.
- ropeEndPositionReturns start and end positions for the given rope. If command fails, empty array `[]` is returned.
- ropeLengthReturn rope length in meters (set by ropeCreate, ropeCut, ropeUnwind).
- ropesReturns all ropes attached to a ropes owner transport vehicle.
- ropesAttachedToReturns the owners of all ropes attached to the cargo - the transports to which other entities are attached with ropes.
- ropeSegmentsReturns provided rope's segments.
- ropeUnwindIncreases or decreases the rope length by the given amount. Use relative parameter for changing rope length +/- from current length.
- ropeUnwoundReturns false if rope length changing animation is in progress. Returns true if animation is done.
- setSlingLoadCreates a sling loading from a helicopter to an entity if possible. To unload cargo, pass objNull as second param.
- setTowParentAllows a vehicle to be towed by another. This loosens the towed vehicle's brakes and turns its steering wheels toward the towing vehicle. Supposed to…
- slingLoadAssistantShownReturns true if Sling Load Assistant is open.