BIS fnc wpLand: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Merge both games' syntaxes)
m (Text replacement - " " to " ")
Line 22: Line 22:


|r1= [[Nothing]]
|r1= [[Nothing]]
 
 
|x1= <code>[<nowiki/>[[player]], [[position]] dude, 10, [42, 20], [[true]]] [[spawn]] [[BIS_fnc_wpLand]];</code>
|x1= <code>[<nowiki/>[[player]], [[position]] dude, 10, [42, 20], [[true]]] [[spawn]] [[BIS_fnc_wpLand]];</code>



Revision as of 19:50, 10 June 2021

tkoh logo small.png Take On Helicopters
Arma 3 logo black.png Arma 3
Hover & click on the images for description

Description

Description:
"LAND" custom waypoint. Land on specific spot.
Execution:
spawn
Groups:
Waypoints

Syntax

Syntax:
arguments: [dirParam, visualize]
Parameters:
dirParam: Array - in format [dir, dirDiff]:
  • dir: Number - required landing direction in degrees
  • dirDiff: Number - direction tolerance (to both sides)
visualize: Boolean - true to show hint (default: false)
Return Value:
Nothing

Examples

Example 1:
[player, position dude, 10, [42, 20], true] spawn BIS_fnc_wpLand;

Additional Information

See also:
BIS_fnc_scriptedWaypointTypeBIS_fnc_wpTransport

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
Hover & click on the images for description

Description

Description:
Let group members land at the waypoint position.
Execution:
spawn
Groups:
Waypoints

Syntax

Syntax:
[group, position, target] spawn BIS_fnc_wpLand
Parameters:
group: Group - group which is supposed to land
position: Position - waypoint position
target: Object - object the waypoint is attached to
Return Value:
Boolean

Examples

Example 1:
[group player, [0,0,0], BIS_vehicle] spawn BIS_fnc_wpLand;

Additional Information

See also:
BIS_fnc_scriptedWaypointTypeBIS_fnc_wpTransport

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