setRectangular: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set the shape of a location to be either rectangular or elliptical. Locations default shape is elliptical.|= Description
| Set the shape of a location to be either rectangular or elliptical. Locations default shape is elliptical.|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| location '''setRectangular''' set |= Syntax
| location '''setRectangular''' set |SYNTAX=


|p1= location: [[Location]] |= Parameter 1
|p1= location: [[Location]] |PARAMETER1=
|p2= set: [[Boolean]] - [[true]] set rectangular, [[false]] set elliptical|= Parameter 2
|p2= set: [[Boolean]] - [[true]] set rectangular, [[false]] set elliptical|PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>myLocation [[setRectangular]] [[true]];</code> |= Example 1
|x1= <code>myLocation [[setRectangular]] [[true]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setText]], [[nearestLocation]], [[nearestLocations]], [[locationPosition]], [[nearestLocationWithDubbing]], [[createLocation]], [[rectangular]]  |= See also
| [[setText]], [[nearestLocation]], [[nearestLocations]], [[locationPosition]], [[nearestLocationWithDubbing]], [[createLocation]], [[rectangular]]  |SEEALSO=


}}
}}

Revision as of 15:48, 7 April 2019

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

Description

Description:
Set the shape of a location to be either rectangular or elliptical. Locations default shape is elliptical.
Groups:
Uncategorised

Syntax

Syntax:
location setRectangular set
Parameters:
location: Location
set: Boolean - true set rectangular, false set elliptical
Return Value:
Nothing

Examples

Example 1:
myLocation setRectangular true;

Additional Information

See also:
setTextnearestLocationnearestLocationslocationPositionnearestLocationWithDubbingcreateLocationrectangular

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