BIS fnc wpLand: Difference between revisions
Jump to navigation
Jump to search
Take On Helicopters
Arma 3
m (Missing category) |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
(24 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{TabView|selected= 2 | ||
| | |title1= {{TabView/GameTitle|tkoh}} | ||
|content1= | |||
| | {{RV|type=function | ||
| | |game1= tkoh | ||
|version1= 1.00 | |||
| | |gr1= Waypoints | ||
|descr= "LAND" [[Custom_Waypoints|custom waypoint]]. Land on specific spot. | |||
| | |s1= [[Custom Waypoints#Function|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= <sqf>[player, position dude, 10, [42, 20], true] spawn BIS_fnc_wpLand;</sqf> | |||
|exec= spawn | |exec= spawn | ||
|seealso= [[BIS_fnc_scriptedWaypointType]] [[BIS_fnc_wpTransport]] | |||
}} | |||
|title2= {{TabView/GameTitle|arma3}} | |||
|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= <sqf>[group player, [0,0,0], BIS_vehicle] spawn BIS_fnc_wpLand;</sqf> | ||
|seealso= [[BIS_fnc_scriptedWaypointType]] [[BIS_fnc_wpTransport]] | |||
}} | |||
}} | |||
Latest revision as of 18:00, 13 July 2022
![tkoh logo small.png](/wikidata/images/thumb/d/db/tkoh_logo_small.png/24px-tkoh_logo_small.png)
![Arma 3 logo black.png](/wikidata/images/thumb/8/80/Arma_3_logo_black.png/24px-Arma_3_logo_black.png)
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]:
- visualize: Boolean - true to show hint (default: false)
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
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
Description
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:
Additional Information
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