BIS fnc wpSlingLoadDetach: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| TKOH |= Game name
|game1= tkoh
|version1= 1.00


|1.00|= Game version
|gr1= Waypoints
____________________________________________________________________________________________


| DETACH SLINGLOAD [[Custom_Waypoints|custom waypoint]].
|descr= DETACH SLINGLOAD [[Custom_Waypoints|custom waypoint]].


Unload an object which was previously loaded using [[BIS_fnc_wpSlingLoadAttach]]
Unload an object which was previously loaded using [[BIS_fnc_wpSlingLoadAttach]].
|DESCRIPTION=
____________________________________________________________________________________________


| [[Custom_Waypoints#Function|arguments]]: [posLimit,limitDir] |SYNTAX=
|exec= spawn


|p1= posLimit: [[Number]] - Time in seconds it takes to detach the cargo (default: -1) |=
|s1= [[Custom Waypoints#Function|Custom Waypoint arguments]]: [posLimit,limitDir]


|p2= limitDir: [[Array]] - direction range in which cargo has to be detached (default: [0,360]) |=
|p1= posLimit: [[Number]] - time in seconds it takes to detach the cargo (default: -1)


| [[Nothing]] |RETURNVALUE=
|p2= limitDir: [[Array]] - direction range in which cargo has to be detached (default: [0,360])
____________________________________________________________________________________________
 
|x1= <code><nowiki>[</nowiki>[[player]], [[position]] dude, 50, 10, [42, 52]] [[spawn]] BIS_fnc_wpSlingLoadDetach;</code> |=


____________________________________________________________________________________________
|r1= [[Nothing]]
| exec=spawn |=


| |SEEALSO=
|x1= <sqf>[player, position dude, 50, 10, [42, 52]] spawn BIS_fnc_wpSlingLoadDetach;</sqf>


|seealso=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Take_On_Helicopters:_Functions|wpSlingLoadDetach]]
[[Category:Function Group: Waypoints|wpSlingLoadDetach]]

Latest revision as of 15:51, 8 November 2023

Hover & click on the images for description

Description

Description:
DETACH SLINGLOAD custom waypoint. Unload an object which was previously loaded using BIS_fnc_wpSlingLoadAttach.
Execution:
spawn
Groups:
Waypoints

Syntax

Syntax:
Custom Waypoint arguments: [posLimit,limitDir]
Parameters:
posLimit: Number - time in seconds it takes to detach the cargo (default: -1)
limitDir: Array - direction range in which cargo has to be detached (default: [0,360])
Return Value:
Nothing

Examples

Example 1:
[player, position dude, 50, 10, [42, 52]] spawn BIS_fnc_wpSlingLoadDetach;

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