canSlingLoad: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 86127 by Waffle SS. on 2014-11-06T01:13:51Z) |
Lou Montana (talk | contribs) m (Text replacement - "since= Arma3" to "since= arma3") |
||
(42 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| | |game1= arma3 | ||
|version1= 1.34 | |||
| | |gr1= Ropes and Sling Loading | ||
|descr= Returns [[true]] if [[setSlingLoad]] is possible. | |||
| | |s1=heli [[canSlingLoad]] cargo | ||
|p1= heli: [[Object]] - a helicopter | |||
|p1 = | |||
| | |p2= cargo: [[Object]] - an entity | ||
|r1= [[Boolean]] - [[true]] if [[setSlingLoad]] is possible | |||
| [[ | |s2=typeOfHeli [[canSlingLoad]] typeOfCargo | ||
|s2since= arma3 2.12 | |||
|p21= typeOfHeli: [[String]] - a config type of helicopter | |||
|p22= typeOfCargo: [[String]] - a config type of cargo (the object of type cargo has to exist in the mission) | |||
|r2= [[Boolean]] - [[true]] if can be sling loaded ''in principle'' | |||
< | |x1= <sqf>_canSling = veh1 canSlingLoad veh2;</sqf> | ||
</ | |x2= <sqf>hint str ((vehicle player) canSlingLoad veh1);</sqf> | ||
|seealso= [[ropes]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]] | |||
[[ | }} |
Latest revision as of 16:26, 9 February 2024
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
Alternative Syntax
- Syntax:
- typeOfHeli canSlingLoad typeOfCargo
- Parameters:
- typeOfHeli: String - a config type of helicopter
- typeOfCargo: String - a config type of cargo (the object of type cargo has to exist in the mission)
- Return Value:
- Boolean - true if can be sling loaded in principle
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- ropes enableRopeAttach getSlingLoad ropeAttachedObjects ropeAttachTo ropeDestroy ropeLength ropeUnwound ropeAttachedTo ropeCreate ropeDetach ropeAttachEnabled ropeCut ropeEndPosition ropeUnwind setSlingLoad slingLoadAssistantShown
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