ropes: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|gr1= Ropes and Sling Loading | |gr1= Ropes and Sling Loading | ||
|descr=Returns all ropes attached to a ropes owner transport | |descr= Returns all ropes attached to a ropes owner transport vehicle. | ||
|s1= [[ropes]] ropesOwner | |s1= [[ropes]] ropesOwner | ||
Line 12: | Line 12: | ||
|p1= ropesOwner: [[Object]] - a transport from which the ropes originate | |p1= ropesOwner: [[Object]] - a transport from which the ropes originate | ||
|r1= [[Array]] - array of the actual rope objects | |r1= [[Array]] of [[Object]]s - array of the actual rope objects | ||
|x1= < | |x1= <sqf>hint str (ropes vehicle player);</sqf> | ||
|x2= < | |x2= <sqf>_rope1 = (ropes heli1) select 0;</sqf> | ||
|seealso= [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]] | |seealso= [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]] | ||
}} | }} | ||
{{Note | |||
|user= Waffle SS. | |||
|timestamp= 20141013020500 | |||
|text= The [[ropes]] command seems to return each individual sling load rope. | |||
The [[ropes]] command seems to return each individual sling load rope. | |||
[[ropes]] will return an empty [[Array]] if the sling load ropes are not deployed. | [[ropes]] will return an empty [[Array]] if the sling load ropes are not deployed. | ||
Ropes as of A3 1.33 have a cfgVehicles classname of "Rope". | Ropes as of A3 1.33 have a cfgVehicles classname of "Rope". | ||
}} | |||
Latest revision as of 22:30, 13 May 2023
Description
- Description:
- Returns all ropes attached to a ropes owner transport vehicle.
- Groups:
- Ropes and Sling Loading
Syntax
- Syntax:
- ropes ropesOwner
- Parameters:
- ropesOwner: Object - a transport from which the ropes originate
- Return Value:
- Array of Objects - array of the actual rope objects
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- canSlingLoad enableRopeAttach getSlingLoad ropeAttachedObjects ropeAttachTo ropeDestroy ropeLength ropeUnwound ropeAttachedTo ropeCreate ropeDetach ropeAttachEnabled ropeCut ropeEndPosition ropeUnwind setSlingLoad slingLoadAssistantShown
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note