{"name":"acos","operator":null,"title":"acos","type":"command","url":"https://community.bistudio.com/wiki/acos","revid":378425,"updated":"2026-04-06T21:06:04Z","groups":["Math - Geometry"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"ArcCosine of a number, result in Degrees","syntaxes":[{"syntax":"acos x","since":null,"effect":null,"exec":null,"params":[{"name":"x","type":"Number in range -1..+1","optional":false,"default":null,"description":"any other value returns NaN","types":["Number"],"since":null,"text":"x: Number in range -1..+1 - any other value returns NaN"}],"returns":{"type":"Number","types":["Number"],"description":null,"text":"Number"},"form":"unary","operator":null,"left":null,"right":{"text":"x","types":["Number"]}}],"examples":[{"text":"```sqf\n_degrees = acos 0.5; // Returns 60\n```","code":["_degrees = acos 0.5; // Returns 60"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["atan","asin","sin","cos","tan"],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Math - Geometry","Introduced with Operation Flashpoint version 1.00","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Take On Helicopters: Scripting Commands"]}