landResult: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
Line 21: Line 21:
|p1= helicopter: [[Object]]
|p1= helicopter: [[Object]]


|r1= [[String]] - Result, can be:
|r1= [[String]] - result, can be:
*"Found" (Position found)
*"Found" (Position found)
*"NotFound" (Position not found)
*"NotFound" (Position not found)

Revision as of 15:47, 8 November 2023

Hover & click on the images for description

Description

Description:
Return the result of helicopter landing position searching (performed, after land command).
Groups:
Unit Control

Syntax

Syntax:
landResult helicopter
Parameters:
helicopter: Object
Return Value:
String - result, can be:
  • "Found" (Position found)
  • "NotFound" (Position not found)
  • "NotReady" (Position searching is still in progess
  • " " (Empty string when wrong was argument)

Examples

Example 1:
_result = landResult BIS_heli;

Additional Information

See also:
land

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