Difference between revisions of "Cos"
Jump to navigation
Jump to search
no edit summary
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Ez0n3 |
||
Line 1: | Line 1: | ||
== | {{Function | ||
|origin = GECK1 | |||
|summary = When given degrees returns the cosine of a given angle. | |||
|name = Cos | |||
== | |arguments = | ||
{{FunctionArgument | |||
cos x | |Name = x | ||
|Type = float | |||
}}{{FunctionArgument | |||
|Name = Arc | |||
|Type = int (optional) | |||
|Optional = y | |||
}} | |||
|example = set x to player.[[GetAngle]] X | |||
cos x ;''will return the cosine of x degrees'' | |||
cos x 1 ;''will return the arccosine of x in degrees – note the optional 1 indicating arc-.'' | |||
}} | |||
==Notes== | ==Notes== | ||
Line 24: | Line 31: | ||
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Acos Acos (OBSE function)] | *Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Acos Acos (OBSE function)] | ||
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Cos Cos (OBSE function)] | *Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Cos Cos (OBSE function)] | ||
[[Category:Functions]] | [[Category:Functions]] |