{"name":"setFaceAnimation","operator":null,"title":"setFaceAnimation","type":"command","url":"https://community.bistudio.com/wiki/setFaceAnimation","revid":340876,"updated":"2023-05-13T21:15:37Z","groups":["Animations","Broken Commands"],"status":"broken","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":"Sets facial animation phase (eye blinking).\n\n> [!NOTE]\n> This command is not functional in Arma 3.","syntaxes":[{"syntax":"unit setFaceAnimation blink","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"},{"name":"blink","type":"Number","optional":false,"default":null,"description":"range 0..1","types":["Number"],"since":null,"text":"blink: Number - range 0..1"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"unit","types":["Object"]},"right":{"text":"blink","types":["Number"]}}],"examples":[{"text":"```sqf\n_soldier1 setFaceAnimation 0.5;\n```","code":["_soldier1 setFaceAnimation 0.5;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setRandomLip","setMimic","animate","animationPhase","animateDoor"],"notes":[{"user":"Lou Montana","date":"2008-12-23T09:01:00Z","text":"Setting face animation to 4 will give \"devilish\" features (Armed Assault)"}],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Animations","Command Group: Broken Commands","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"]}