in location: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Position]] '''in''' [[Location]] |= Syntax
| position '''in''' location |= Syntax


|p1= [[Position]] |= Parameter 1
|p1= position: [[Array]] - format [[Position]] |= Parameter 1
|p2= [[Location]] |= Parameter 2
|p2= location: [[Location]] |= Parameter 2


| [[Boolean]] |= Return value
| [[Boolean]] |= Return value

Revision as of 01:33, 23 January 2009

-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

Description

Description:
Check if a position is within a location's area. Returns true if so.
Groups:
Uncategorised

Syntax

Syntax:
position in location
Parameters:
position: Array - format Position
location: Location
Return Value:
Boolean

Examples

Example 1:
_isInLocation = getPos player in myLocation

Additional Information

See also:
See also needed

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

Notes

Bottom Section