canSlingLoad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) |
||
Line 20: | Line 20: | ||
|x2= <code>[[hint]] [[str]] (([[vehicle]] [[player]]) [[canSlingLoad]] veh1);</code> | |x2= <code>[[hint]] [[str]] (([[vehicle]] [[player]]) [[canSlingLoad]] veh1);</code> | ||
|seealso= [[ropes]] | |seealso= [[ropes]] [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] | ||
}} | }} |
Revision as of 12:56, 20 January 2022
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:
- ropes enableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeDestroyropeLengthropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown
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