BIS fnc wpLand TKOH: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (KC Grimes moved page BIS fnc wpLand to BIS fnc wpLand TKOH: Making room for A3 version)
m (template:command argument fix)
Line 10: Line 10:


Land on specific spot.
Land on specific spot.
  |= Description
  |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Custom_Waypoints#Function|arguments]]: [dirParam,visualize] |= Syntax
| [[Custom_Waypoints#Function|arguments]]: [dirParam,visualize] |SYNTAX=


|p1= dirParam: [[Array]] - in format [dir,dirDiff]
|p1= dirParam: [[Array]] - in format [dir,dirDiff]
Line 21: Line 21:
|p2= visualize: [[Boolean]] - true to show hint (default: false) |=
|p2= visualize: [[Boolean]] - true to show hint (default: false) |=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code><nowiki>[</nowiki>[[player]],[[position]] dude,10,[42,20],true] [[spawn]] BIS_fnc_wpLand;</code> |= Example 1
|x1= <code><nowiki>[</nowiki>[[player]],[[position]] dude,10,[42,20],true] [[spawn]] BIS_fnc_wpLand;</code> |EXAMPLE1=


____________________________________________________________________________________________
____________________________________________________________________________________________
| exec=spawn |=
| exec=spawn |=


| |= See also
| |SEEALSO=


}}
}}

Revision as of 14:34, 7 April 2019

Hover & click on the images for description

Description

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

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

Notes

Bottom Section