canSlingLoad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{RV\|type=command \| arma3 \| *([0-9]\.[0-9]{2}) * \| *gr1 *=(.*) \|(.*) \|(.*) \| *p1 *=(.*) \| *p2 *=(.*) \|(.*) \| *x1 *=(.*) \| *x2 *=(.*) \|seealso=(.*) \}\} " to "{{RV|type=command |game1= arma3 |version1= $1 |...) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 1.34 | |||
|1.34 | |||
|gr1= Ropes and Sling Loading | |gr1= Ropes and Sling Loading | ||
| Returns [[true]] if [[setSlingLoad]] is possible. | |descr= Returns [[true]] if [[setSlingLoad]] is possible. | ||
|heli [[canSlingLoad]] cargo | |s1=heli [[canSlingLoad]] cargo | ||
|p1= heli: [[Object]] - a helicopter | |p1= heli: [[Object]] - a helicopter | ||
Line 15: | Line 14: | ||
|p2= cargo: [[Object]] - an entity | |p2= cargo: [[Object]] - an entity | ||
| [[Boolean]] - [[true]] if [[setSlingLoad]] is possible | |r1= [[Boolean]] - [[true]] if [[setSlingLoad]] is possible | ||
|x1= <code>_canSling = veh1 [[canSlingLoad]] veh2;</code> | |x1= <code>_canSling = veh1 [[canSlingLoad]] veh2;</code> |
Revision as of 17:43, 9 June 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