setDirection: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.08 | |1.08 | ||
|arg | |arg= | ||
|eff | |eff= | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| 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. | | 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. | ||
| location '''setDirection''' direction | | location '''setDirection''' direction | ||
|p1= location: [[Location]] | |p1= location: [[Location]] | ||
|p2= direction: [[Number]] | |p2= direction: [[Number]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|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> | ||
| [[createLocation]], [[setText]], [[direction]] | | [[createLocation]], [[setText]], [[direction]] | ||
}} | }} |
Revision as of 11:12, 18 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