canSlingLoad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.34 | |1.34 | ||
|gr1= Ropes and Sling Loading | |gr1= Ropes and Sling Loading | ||
| Returns [[true]] if [[setSlingLoad]] is possible. | | Returns [[true]] if [[setSlingLoad]] is possible. | ||
|heli [[canSlingLoad]] cargo | |heli [[canSlingLoad]] cargo | ||
|p1= heli: [[Object]] - a helicopter | |p1= heli: [[Object]] - a helicopter | ||
Line 16: | Line 16: | ||
|p2= cargo: [[Object]] - an entity | |p2= cargo: [[Object]] - an entity | ||
| [[Boolean]] - [[true]] if [[setSlingLoad]] is possible | | [[Boolean]] - [[true]] if [[setSlingLoad]] is possible | ||
|x1= <code>_canSling = veh1 [[canSlingLoad]] veh2;</code> | |x1= <code>_canSling = veh1 [[canSlingLoad]] veh2;</code> | ||
|x2= <code>[[hint]] [[str]] (([[vehicle]] [[player]]) [[canSlingLoad]] veh1);</code> | |x2= <code>[[hint]] [[str]] (([[vehicle]] [[player]]) [[canSlingLoad]] veh1);</code> | ||
| [[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]] | ||
}} | }} | ||
Revision as of 00:12, 18 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