BIS fnc wpWinchLoad: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Waypoints |GROUP1=") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| TKOH |Game name= | | TKOH |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Waypoints |GROUP1= | |gr1= Waypoints |GROUP1= | ||
| WINCH LOAD [[Custom_Waypoints|custom waypoint]]. | | WINCH LOAD [[Custom_Waypoints|custom waypoint]]. | ||
Line 13: | Line 11: | ||
Load a group into helicopter cargo using winch. | Load a group into helicopter cargo using winch. | ||
|DESCRIPTION= | |DESCRIPTION= | ||
| [[Custom_Waypoints#Function|arguments]]: [limitHeight,winchID,crewman,failCode,loadCode] |SYNTAX= | | [[Custom_Waypoints#Function|arguments]]: [limitHeight,winchID,crewman,failCode,loadCode] |SYNTAX= | ||
Line 28: | Line 25: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code><nowiki>[</nowiki>[[player]], dude, 50, 5, 1, rescuer, {[[hintC]] "Rescuer died!"}, {[[hintC]] "Dude saved"}] [[spawn]] BIS_fnc_wpWinchLoad;</code> |EXAMPLE1= | |x1= <code><nowiki>[</nowiki>[[player]], dude, 50, 5, 1, rescuer, {[[hintC]] "Rescuer died!"}, {[[hintC]] "Dude saved"}] [[spawn]] BIS_fnc_wpWinchLoad;</code> |EXAMPLE1= | ||
| exec=spawn |= | | exec=spawn |= | ||
Revision as of 23:59, 16 January 2021
Description
- Description:
- WINCH LOAD custom waypoint. Load a group into helicopter cargo using winch.
- Execution:
- spawn
- Groups:
- Waypoints
Syntax
- Syntax:
- 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:
[player, dude, 50, 5, 1, rescuer, {hintC "Rescuer died!"}, {hintC "Dude saved"}] spawn BIS_fnc_wpWinchLoad;
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