BIS fnc wpLand TKOH: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{Feature[ _]arma3" to "{{Feature|arma3")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| TKOH |Game name=
| TKOH |Game name=
Line 7: Line 6:


|gr1= Waypoints |GROUP1=
|gr1= Waypoints |GROUP1=
____________________________________________________________________________________________


| "LAND" [[Custom_Waypoints|custom waypoint]]. Land on specific spot.
| "LAND" [[Custom_Waypoints|custom waypoint]]. Land on specific spot.


{{Feature|arma3 | This function syntax is for {{tkoh}}. For {{arma3}}, see [[BIS_fnc_wpLand]].}} |DESCRIPTION=
{{Feature|arma3 | This function syntax is for {{tkoh}}. For {{arma3}}, see [[BIS_fnc_wpLand]].}} |DESCRIPTION=
____________________________________________________________________________________________


| [[Custom Waypoints#Function|arguments]]: [dirParam, visualize] |SYNTAX=
| [[Custom Waypoints#Function|arguments]]: [dirParam, visualize] |SYNTAX=
Line 23: Line 20:


| [[Nothing]] |RETURNVALUE=
| [[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> |EXAMPLE1=


____________________________________________________________________________________________


|exec= spawn |Execution=
|exec= spawn |Execution=

Revision as of 01:09, 17 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

Notes

Bottom Section