canSlingLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.34|Game version=
|1.34


|gr1= Ropes and Sling Loading |GROUP1=
|gr1= Ropes and Sling Loading




| Returns [[true]] if [[setSlingLoad]] is possible. |Description=
| Returns [[true]] if [[setSlingLoad]] is possible.


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


|p1= heli: [[Object]] - a helicopter
|p1= heli: [[Object]] - a helicopter
Line 16: Line 16:
|p2= cargo: [[Object]] - an entity
|p2= cargo: [[Object]] - an entity


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


|x1= <code>_canSling = veh1 [[canSlingLoad]] veh2;</code> |Example1=
|x1= <code>_canSling = veh1 [[canSlingLoad]] veh2;</code>


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


| [[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]]
}}
}}



Revision as of 00:12, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns true if setSlingLoad is possible.
Groups:
Ropes and Sling Loading

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