BIS fnc wpLand: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
m (Text replacement - "<code>(.*)_this(.*)<\/code>" to "<code>$1_this$2</code>")
Line 23: Line 23:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|exec= spawn
|exec= spawn
Line 54: Line 54:
|exec= spawn
|exec= spawn


|x1= <code>[<nowiki/>[[group]] [[player]], [0,0,0], BIS_vehicle] [[spawn]] [[BIS_fnc_wpLand]];</code>
|x1= <code>[<nowiki/>[[group]] [[playe_this], [0,0,0], BIS_vehicle] [[spawn]] [[BIS_fnc_wpLand]];</code>


|seealso= [[BIS_fnc_scriptedWaypointType]] [[BIS_fnc_wpTransport]]
|seealso= [[BIS_fnc_scriptedWaypointType]] [[BIS_fnc_wpTransport]]

Revision as of 23:46, 12 July 2022

{{TabView|selected= 2

|title1= tkoh logo small.png Take On Helicopters |content1=

{{RV|type=function

|game1= tkoh |version1= 1.00

|gr1= Waypoints

|descr= "LAND" custom waypoint. Land on specific spot.

|s1= arguments: [dirParam, visualize]

|p1= dirParam: Array - in format [dir, dirDiff]:

  • dir: Number - required landing direction in degrees
  • dirDiff: Number - direction tolerance (to both sides)

|p2= visualize: Boolean - true to show hint (default: false)

|r1= Nothing

|x1= [[[playe_this], position dude, 10, [42, 20], true] spawn BIS_fnc_wpLand;

|exec= spawn

|seealso= BIS_fnc_scriptedWaypointType BIS_fnc_wpTransport }}

|title2= Arma 3 logo black.png Arma 3 |content2=

{{RV|type=function

|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

|x1= [group [[playe_this], [0,0,0], BIS_vehicle] spawn BIS_fnc_wpLand;

|seealso= BIS_fnc_scriptedWaypointType BIS_fnc_wpTransport }}

}}