setSlingLoad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>") |
||
Line 27: | Line 27: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on November 8, 2014 - 14:42 (UTC)</dd> | <dd class="notedate">Posted on November 8, 2014 - 14:42 (UTC)</dd> |
Revision as of 13:36, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Ropes and Sling Loading
Syntax
- Syntax:
- Syntax needed
- Parameters:
- heli: Object - the helicopter slinging the load
- cargo: Object - the cargo load entity
- Return Value:
- Boolean - true on success
Examples
- Example 1:
_success = heli1 setSlingLoad veh1;
- Example 2:
- To unload cargo:
_success = heli setSlingLoad objNull;
Additional Information
- See also:
- ropescanSlingLoadenableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeDestroyropeLengthropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionropeUnwindslingLoadAssistantShown
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
- Posted on November 8, 2014 - 14:42 (UTC)
- Tajin
-
"... if possible "
FYI, that only means that 'vehicle' has to be able to lift 'cargo'. The position/distance does not matter, 'cargo' is automatically moved to a position that is close enough but doesn't doesn't collide with 'vehicle'. (can also be used if 'vehicle' is not flying, in which case 'cargo' will be placed and attached on the ground next to it).