getSlingLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 8: Line 7:
|gr1= Ropes and Sling Loading |GROUP1=
|gr1= Ropes and Sling Loading |GROUP1=


____________________________________________________________________________________________


|Return object which is sling loaded by vehicle|Description=
|Return object which is sling loaded by vehicle|Description=
____________________________________________________________________________________________


| [[getSlingLoad]] vehicle |Syntax=
| [[getSlingLoad]] vehicle |Syntax=
Line 18: Line 15:


| [[Object]] - the sling loaded vehicle. [[objNull]] if nothing is sling loaded. |Return value=
| [[Object]] - the sling loaded vehicle. [[objNull]] if nothing is sling loaded. |Return value=
____________________________________________________________________________________________


|x1 = <code>_cargo = [[getSlingLoad]] heli1;</code> |Example1=
|x1 = <code>_cargo = [[getSlingLoad]] heli1;</code> |Example1=

Revision as of 01:41, 17 January 2021

Hover & click on the images for description

Description

Description:
Return object which is sling loaded by vehicle
Groups:
Ropes and Sling Loading

Syntax

Syntax:
getSlingLoad vehicle
Parameters:
vehicle: Object
Return Value:
Object - the sling loaded vehicle. objNull if nothing is sling loaded.

Examples

Example 1:
_cargo = getSlingLoad heli1;

Additional Information

See also:
ropescanSlingLoadenableRopeAttachropeAttachedObjectsropeAttachToropeDestroyropeLengthropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown

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

Notes

Bottom Section