setDirection: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (example see also) |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set's the orientation of a location. It's area and map icon (if it's type uses an icon) will be rotated to this orientation.|= | | Set's the orientation of a location. It's area and map icon (if it's type uses an icon) will be rotated to this orientation.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| location '''setDirection''' direction |= | | location '''setDirection''' direction |SYNTAX= | ||
|p1= location: [[Location]] |= | |p1= location: [[Location]] |PARAMETER1= | ||
|p2= direction: [[Number]] |= | |p2= direction: [[Number]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[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> |= | location1 [[setDirection]] 45;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[createLocation]], [[setText]], [[direction]] |= | | [[createLocation]], [[setText]], [[direction]] |SEEALSO= | ||
}} | }} |
Revision as of 14:47, 7 April 2019
Description
- Description:
- Set's the orientation of a location. It's area and map icon (if it's type uses an icon) will be rotated to this orientation.
- Groups:
- Uncategorised
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