asin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
| ofp |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 12: Line 12:
| [[Number]] <nowiki>=</nowiki> '''asin''' x |SYNTAX=
| [[Number]] <nowiki>=</nowiki> '''asin''' x |SYNTAX=


|p1= x: [[Number]] |= Parameter 1
|p1= x: [[Number]] |PARAMETER1=


| [[Number]] |RETURNVALUE=
| [[Number]] |RETURNVALUE=
Line 19: Line 19:
|x1= <pre>_degrees=asin 0.5</pre>
|x1= <pre>_degrees=asin 0.5</pre>


returns 30 |= Example 1
returns 30 |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 39: Line 39:
[[Category:Scripting Commands OFP 1.96|ASIN]]
[[Category:Scripting Commands OFP 1.96|ASIN]]
[[Category:Scripting Commands OFP 1.46|ASIN]]
[[Category:Scripting Commands OFP 1.46|ASIN]]
[[Category:Scripting Commands ArmA|ASIN]]
[[Category:Scripting Commands Armed Assault|ASIN]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 17:38, 3 June 2020

Hover & click on the images for description

Description

Description:
Arcsine of a number, result in Degrees.
Groups:
Uncategorised

Syntax

Syntax:
Number = asin x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_degrees=asin 0.5
returns 30

Additional Information

See also:
Math Commands

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