{"name":"morale","operator":null,"title":"morale","type":"command","url":"https://community.bistudio.com/wiki/morale","revid":337696,"updated":"2023-02-21T11:22:08Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"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":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Get the provided unit's current morale level.","syntaxes":[{"syntax":"morale unit","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"}],"returns":{"type":"Number","types":["Number"],"description":"in range -1..+1","text":"Number - in range -1..+1"},"form":"unary","operator":null,"left":null,"right":{"text":"unit","types":["Object"]}}],"examples":[{"text":"```sqf\nhint format [\"Leader's morale: %1\", morale leader player];\n```","code":["hint format [\"Leader's morale: %1\", morale leader player];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["skill","setSkill"],"notes":[{"user":".kju","date":"2020-08-13T10:54:00Z","text":"In Arma 3 probably affects Suppression."}],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 2 version 1.00","Scripting Commands","Take On Helicopters: Scripting Commands"]}