BIS fnc wpLand: 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 - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>")
Line 23: Line 23:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|exec= spawn
|exec= spawn

Revision as of 16:56, 13 July 2022

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_scriptedWaypointType BIS_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_scriptedWaypointType BIS_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