setDirection: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 11: | Line 10: | ||
|gr1= Object Manipulation |GROUP1= | |gr1= Object Manipulation |GROUP1= | ||
| Set's the orientation of a location. It's area and map icon (if it is type uses an icon) will be rotated to this orientation.|DESCRIPTION= | | Set's the orientation of a location. It's area and map icon (if it is type uses an icon) will be rotated to this orientation.|DESCRIPTION= | ||
| location '''setDirection''' direction |SYNTAX= | | location '''setDirection''' direction |SYNTAX= | ||
Line 22: | Line 19: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>location1 = [[createLocation]] ["VegetationPalm", [[getPos]] [[player]], 200, 200]; | |x1= <code>location1 = [[createLocation]] ["VegetationPalm", [[getPos]] [[player]], 200, 200]; | ||
location1 [[setText]] "Benargee's Palm Tree"; | location1 [[setText]] "Benargee's Palm Tree"; | ||
location1 [[setDirection]] 45;</code> |EXAMPLE1= | location1 [[setDirection]] 45;</code> |EXAMPLE1= | ||
| [[createLocation]], [[setText]], [[direction]] |SEEALSO= | | [[createLocation]], [[setText]], [[direction]] |SEEALSO= |
Revision as of 02:33, 17 January 2021
Description
- Description:
- Set's the orientation of a location. It's area and map icon (if it is type uses an icon) will be rotated to this orientation.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- location setDirection direction
- Parameters:
- location: Location
- direction: Number
- Return Value:
- Nothing
Examples
- Example 1:
location1 = createLocation ["VegetationPalm", getPos player, 200, 200]; location1 setText "Benargee's Palm Tree"; location1 setDirection 45;
Additional Information
- See also:
- createLocationsetTextdirection
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