{"name":"setDammage","title":"setDammage","type":"command","url":"https://community.bistudio.com/wiki/setDammage","revid":379231,"updated":"2026-10-30T23:09:04Z","groups":["Object Manipulation"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","locality":{"argument":"global","effect":"global"},"description":"Entirely identical to setDamage that was introduced to fix a typographical error in the command's name.\n\n> [!NOTE]\n> See setDamage for this command's documentation.","syntaxes":[{"syntax":"object setDammage damage","params":[{"name":"object","type":"Object","type_expr":"Object"},{"name":"damage","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"object"},"right":{"text":"damage"}}],"examples":[{"text":"-"}],"aliases":["setDamage"],"see_also":["setDamage"],"notes":[{"user":"Fragorl","date":"2006-04-17T07:39:00Z","text":"In **Operation Flashpoint**, setting a unit's damage to a negative value will set it is health to full, but impair their aim."}]}