{"name":"setType","title":"setType","type":"command","url":"https://community.bistudio.com/wiki/setType","revid":323021,"updated":"2022-06-28T21:43:07Z","groups":["Locations"],"status":"ok","games":{"arma1":"1.08","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.08","arma3_since":"0.50","description":"Changes a location to the specified class. Location classes are defined in CfgLocationTypes.","syntaxes":[{"syntax":"location setType name","params":[{"name":"location","type":"Location","type_expr":"Location"},{"name":"name","type":"String","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"location"},"right":{"text":"name"}}],"examples":[{"code":["myLocation setType \"RockArea\";"]}],"see_also":["type"]}