BIS fnc wpWinchLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " \| +(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) *=" to " |$1=")
Line 27: Line 27:
|x1= <code><nowiki>[</nowiki>[[player]], dude, 50, 5, 1, rescuer, {[[hintC]] "Rescuer died!"}, {[[hintC]] "Dude saved"}] [[spawn]] BIS_fnc_wpWinchLoad;</code>
|x1= <code><nowiki>[</nowiki>[[player]], dude, 50, 5, 1, rescuer, {[[hintC]] "Rescuer died!"}, {[[hintC]] "Dude saved"}] [[spawn]] BIS_fnc_wpWinchLoad;</code>


| exec=spawn
|exec=spawn
}}
}}



Revision as of 00:34, 11 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
Waypoints

Syntax

Syntax:
Syntax needed
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