landResult: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
m (Text replacement - " |r1=[[" to " |r1= [[")
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 00:45, 8 August 2021

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