BIS fnc wpLand TKOH: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
Line 1: Line 1:
{{Function|Comments=
{{Function| TKOH|1.00|gr1= Waypoints| "LAND" [[Custom_Waypoints|custom waypoint]]. Land on specific spot.


| TKOH |Game name=
{{Feature|arma3 | This function syntax is for {{tkoh}}. For {{arma3}}, see [[BIS_fnc_wpLand]].}}| [[Custom Waypoints#Function|arguments]]: [dirParam, visualize]|p1= dirParam: [[Array]] - in format [dir, dirDiff]
 
|1.00|Game version=
 
|gr1= Waypoints |GROUP1=
 
| "LAND" [[Custom_Waypoints|custom waypoint]]. Land on specific spot.
 
{{Feature|arma3 | This function syntax is for {{tkoh}}. For {{arma3}}, see [[BIS_fnc_wpLand]].}} |DESCRIPTION=
 
| [[Custom Waypoints#Function|arguments]]: [dirParam, visualize] |SYNTAX=
 
|p1= dirParam: [[Array]] - in format [dir, dirDiff]
* dir: [[Number]] - required landing direction in degrees
* dir: [[Number]] - required landing direction in degrees
* dirDiff: [[Number]] - direction tolerance (to both sides) |Parameter1=
* dirDiff: [[Number]] - direction tolerance (to both sides)|p2= visualize: [[Boolean]] - true to show hint (default: false)| [[Nothing]] |RETURNVALUE=
 
|p2= visualize: [[Boolean]] - true to show hint (default: false) |Parameter2=
 
| [[Nothing]] |RETURNVALUE=
   
   
|x1= <code>[<nowiki/>[[player]], [[position]] dude, 10, [42, 20], [[true]]] [[spawn]] [[{{PAGENAME}}|BIS_fnc_wpLand]];</code> |EXAMPLE1=
|x1= <code>[<nowiki/>[[player]], [[position]] dude, 10, [42, 20], [[true]]] [[spawn]] [[{{PAGENAME}}|BIS_fnc_wpLand]];</code>
 
|exec= spawn| [[BIS_fnc_wpLand]] |SEEALSO=
 
|exec= spawn |Execution=
 
| [[BIS_fnc_wpLand]] |SEEALSO=
}}
}}



Revision as of 10:01, 18 January 2021

Hover & click on the images for description

Description

Description:
"LAND" custom waypoint. Land on specific spot.
Arma 3
This function syntax is for Take On Helicopters. For Arma 3, see BIS_fnc_wpLand.
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_wpLand

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