BIS fnc wpSlingLoadDetach: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
|s1= [[Custom Waypoints#Function|Custom Waypoint arguments]]: [posLimit,limitDir]
|s1= [[Custom Waypoints#Function|Custom Waypoint arguments]]: [posLimit,limitDir]


|p1= posLimit: [[Number]] - Time in seconds it takes to detach the cargo (default: -1)
|p1= posLimit: [[Number]] - time in seconds it takes to detach the cargo (default: -1)


|p2= limitDir: [[Array]] - direction range in which cargo has to be detached (default: [0,360])
|p2= limitDir: [[Array]] - direction range in which cargo has to be detached (default: [0,360])
Line 20: Line 20:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso=
|seealso=
}}
}}

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