setDirection: Difference between revisions

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


| Set's the orientation of a location. It's area and map icon (if it's type uses and icon) will be rotated to this orientation.|= 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.|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Location]] '''setDirection''' [[Number]] |= Syntax
| location '''setDirection''' direction |= Syntax


|p1= [[Location]] |= Parameter 1
|p1= location: [[Location]] |= Parameter 1
|p2= [[Number]] |= Parameter 2
|p2= direction: [[Number]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 19:28, 25 January 2009

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

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:
myLocation setDirection 45

Additional Information

See also:
direction

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