canSlingLoad: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 86127 by Waffle SS. on 2014-11-06T01:13:51Z) |
Lou Montana (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma 3 | | | arma 3 |Game name= | ||
|1.34| | |1.34|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns true if it is possible to sling load cargo |= | | Returns true if it is possible to sling load cargo |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|vehicle | |vehicle [[canSlingLoad]] cargo |Syntax= | ||
|p1 = vehicle: [[Object]] | |||
|p2 = cargo: [[Object]] | |p1= vehicle: [[Object]] | ||
| [[Boolean]] | | |||
|p2= cargo: [[Object]] | |||
| [[Boolean]] |Return value= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |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]] | | | [[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 23:38, 29 March 2019
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