canSlingLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 86127 by Waffle SS. on 2014-11-06T01:13:51Z)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma 3 |= Game name
| arma 3 |Game name=


|1.34|= Game version
|1.34|Game version=


____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns true if it is possible to sling load cargo |= Description
| Returns true if it is possible to sling load cargo |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


|vehicle '''canSlingLoad''' cargo|= Syntax
|vehicle [[canSlingLoad]] cargo |Syntax=
|p1 = vehicle: [[Object]]
 
|p2 = cargo: [[Object]]
|p1= vehicle: [[Object]]
| [[Boolean]] |= Return value
 
|p2= cargo: [[Object]]
 
| [[Boolean]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>_slingable = veh1 '''canSlingLoad''' veh2;</code> |= Example1


|x2 = <code>[[hint]] [[str]] (([[vehicle]] [[player]]) '''canSlingLoad''' veh1);</code> |= Example1
|x1= <code>_canSling = veh1 [[canSlingLoad]] veh2;</code> |Example1=


|x2= <code>[[hint]] [[str]] (([[vehicle]] [[player]]) [[canSlingLoad]] veh1);</code> |Example2=
____________________________________________________________________________________________


| [[ropes]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |= See also
| [[ropes]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |See also=
 
}}
}}


Line 32: Line 35:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Ropes and Sling Loading]]

Revision as of 00:38, 30 March 2019

Hover & click on the images for description

Description

Description:
Returns true if it is possible to sling load cargo
Groups:
Uncategorised

Syntax

Syntax:
vehicle canSlingLoad cargo
Parameters:
vehicle: Object
cargo: Object
Return Value:
Boolean

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