atg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|ATG]]
[[Category:Scripting Commands|ATG]]
[[Category:Scripting Commands OFP 1.97|ATG]]
[[Category:Scripting Commands OFP 1.96|ATG]]
[[Category:Scripting Commands OFP 1.46|ATG]]
[[Category:Scripting Commands OFP 1.46|ATG]]
[[Category:Scripting Commands ArmA|ATG]]
[[Category:Scripting Commands ArmA|ATG]]

Revision as of 20:41, 1 June 2006


atg x


Operand types:

x: Number

Type of returned value:

Number

Description:

Arctangens of x, result in degrees.

See also atan2 and atan


Example:

_angle = atg 1 ..........Result is 45