canSlingLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns true if it is possible to sling load cargo |Description=
| Returns [[true]] if [[setSlingLoad]] is possible. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


|vehicle [[canSlingLoad]] cargo |Syntax=
|heli [[canSlingLoad]] cargo |Syntax=


|p1= vehicle: [[Object]]
|p1= heli: [[Object]] - a helicopter


|p2= cargo: [[Object]]
|p2= cargo: [[Object]] - an entity


| [[Boolean]] |Return value=
| [[Boolean]] - [[true]] if [[setSlingLoad]] is possible |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:51, 1 September 2019

Hover & click on the images for description

Description

Description:
Returns true if setSlingLoad is possible.
Groups:
Uncategorised

Syntax

Syntax:
heli canSlingLoad cargo
Parameters:
heli: Object - a helicopter
cargo: Object - an entity
Return Value:
Boolean - true if setSlingLoad is possible

Examples

Example 1:
_canSling = veh1 canSlingLoad veh2;
Example 2:
hint str ((vehicle player) canSlingLoad veh1);

Additional Information

See also:
ropesenableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeDestroyropeLengthropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown

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