{"name":"removeAction","title":"removeAction","type":"command","url":"https://community.bistudio.com/wiki/removeAction","revid":348246,"updated":"2023-11-08T11:40:32Z","groups":["Interaction"],"status":"ok","games":{"ofp":"1.20","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.20","arma3_since":"0.50","locality":{"argument":"global","effect":"local"},"description":"Removes user added action with given ID. This only removes actions added with the addAction command. You cannot remove default game actions, such as reload.","syntaxes":[{"syntax":"unit removeAction actionID","params":[{"name":"unit","type":"Object","description":"unit, vehicle or static object","type_expr":"Object"},{"name":"actionID","type":"Number","description":"action ID returned by addAction","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit"},"right":{"text":"actionID"}}],"examples":[{"code":["player removeAction 0;"]}],"see_also":["actionIDs","actionParams","addAction","setUserActionText","inGameUISetEventHandler","showHUD","inputAction","removeAllActions","action"]}