BIS fnc wpLand: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{Feature[ _]arma3" to "{{Feature|arma3")
m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>")
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Function|Comments=
{{TabView|selected= 2
____________________________________________________________________________________________


| arma3 |Game name=
|title1= {{TabView/GameTitle|tkoh}}
|content1=


|1.00|Game version=
{{RV|type=function


|gr1= Waypoints |GROUP1=
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| Let group members land at the waypoint position.
|gr1= Waypoints


{{Feature|arma3 | This function syntax is for {{arma3}}. For {{tkoh}}, see [[BIS_fnc_wpLand_TKOH]].}} |Description=
|descr= "LAND" [[Custom_Waypoints|custom waypoint]]. Land on specific spot.
____________________________________________________________________________________________


| [group, position, target] spawn [[BIS_fnc_wpLand]] |Syntax=
|s1= [[Custom Waypoints#Function|arguments]]: [dirParam, visualize]


|p1= group: [[Group]] - Group which is supposed to land |Parameter 1=
|p1= dirParam: [[Array]] - in format [dir, dirDiff]:
* dir: [[Number]] - required landing direction in degrees
* dirDiff: [[Number]] - direction tolerance (to both sides)


|p2= position: [[Position]] - Waypoint position |Parameter 2=
|p2= visualize: [[Boolean]] - true to show hint (default: false)


|p3= target: [[Object]] - Object the waypoint is attached to |Parameter 3=
|r1= [[Nothing]]


| [[Boolean]] |Return value=
|x1= <sqf>[player, position dude, 10, [42, 20], true] spawn BIS_fnc_wpLand;</sqf>


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


|x1= <code>[<nowiki/>[[group]] [[player]], [0,0,0], BIS_vehicle] [[spawn]] [[BIS_fnc_wpLand]];</code> |Example 1=
|seealso= [[BIS_fnc_scriptedWaypointType]] [[BIS_fnc_wpTransport]]
____________________________________________________________________________________________
}}
 
|title2= {{TabView/GameTitle|arma3}}
|content2=
 
{{RV|type=function


| [[BIS_fnc_scriptedWaypointType]], [[BIS_fnc_wpTransport]], [[BIS_fnc_wpLand_TKOH]] |See also=
|game1= arma3
}}
|version1= 1.00
 
|gr1= Waypoints
 
|descr= Let group members land at the waypoint position.
 
|s1= [group, position, target] spawn [[BIS_fnc_wpLand]]
 
|p1= group: [[Group]] - group which is supposed to land
 
|p2= position: [[Position]] - waypoint position
 
|p3= target: [[Object]] - object the waypoint is attached to
 
|r1= [[Boolean]]


|exec= spawn


<h3 style="display:none">Notes</h3>
|x1= <sqf>[group player, [0,0,0], BIS_vehicle] spawn BIS_fnc_wpLand;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[BIS_fnc_scriptedWaypointType]] [[BIS_fnc_wpTransport]]
</dl>
}}


<h3 style="display:none">Bottom Section</h3>
}}

Latest revision as of 17:00, 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