canSlingLoad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) 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= | ||
| Returns [[true]] if [[setSlingLoad]] is possible. |Description= | | Returns [[true]] if [[setSlingLoad]] is possible. |Description= | ||
|heli [[canSlingLoad]] cargo |Syntax= | |heli [[canSlingLoad]] cargo |Syntax= | ||
Line 20: | Line 17: | ||
| [[Boolean]] - [[true]] if [[setSlingLoad]] is possible |Return value= | | [[Boolean]] - [[true]] if [[setSlingLoad]] is possible |Return value= | ||
|x1= <code>_canSling = veh1 [[canSlingLoad]] veh2;</code> |Example1= | |x1= <code>_canSling = veh1 [[canSlingLoad]] veh2;</code> |Example1= | ||
|x2= <code>[[hint]] [[str]] (([[vehicle]] [[player]]) [[canSlingLoad]] veh1);</code> |Example2= | |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= |
Revision as of 00:26, 17 January 2021
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