BIS fnc wpWinchLoad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| | |game1= tkoh | ||
|version1= 1.00 | |||
| | |gr1= Waypoints | ||
| | |exec= spawn | ||
| WINCH LOAD [[Custom_Waypoints|custom waypoint]]. | |descr= WINCH LOAD [[Custom_Waypoints|custom waypoint]]. | ||
Load a group into helicopter cargo using winch. | Load a group into helicopter cargo using winch. | ||
| [[ | |s1= [[Custom Waypoints#Function|Custom Waypoint arguments]]: [limitHeight, winchID, crewman, failCode, loadCode] | ||
|p1= limitHeight: [[Number]] - height tolerance from waypoint's height (default: 10m) | |p1= limitHeight: [[Number]] - height tolerance from waypoint's height (default: 10m) | ||
Line 23: | Line 24: | ||
|p5= loadCode: [[Code]] - code executed everytime person from a group is selected to be loaded into helicopter (default: {}) | |p5= loadCode: [[Code]] - code executed everytime person from a group is selected to be loaded into helicopter (default: {}) | ||
|r1=[[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[player, dude, 50, 5, 1, rescuer, {hintC "Rescuer died!"}, {hintC "Dude saved"}] spawn BIS_fnc_wpWinchLoad;</sqf> | ||
| | |seealso= | ||
}} | }} | ||
Latest revision as of 12:29, 1 July 2022
Description
- Description:
- WINCH LOAD custom waypoint. Load a group into helicopter cargo using winch.
- Execution:
- spawn
- Groups:
- Waypoints
Syntax
- Syntax:
- Custom Waypoint arguments: [limitHeight, winchID, crewman, failCode, loadCode]
- Parameters:
- limitHeight: Number - height tolerance from waypoint's height (default: 10m)
- winchID: Number - ID of vehicle's winch position. Positions are defined in vehicle's config under RopePositions >> Winch (default: 0)
- crewman: Object - person going down on a rope (default: 2nd person in vehicle's crew)
- failCode: Code - code executed when anything happens to persons on rope (default: {})
- loadCode: Code - code executed everytime person from a group is selected to be loaded into helicopter (default: {})
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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