canSlingLoad: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
|p21= typeOfHeli: [[String]] - a config type of helicopter | |p21= typeOfHeli: [[String]] - a config type of helicopter | ||
|p22= typeOfCargo: [[String]] - a config type of cargo | |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'' | |r2= [[Boolean]] - [[true]] if can be sling loaded ''in principle'' |
Revision as of 17:12, 30 December 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
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