{"name":"type","title":"type","type":"command","url":"https://community.bistudio.com/wiki/type","revid":319936,"updated":"2022-05-13T09:25:45Z","groups":["Locations","Briefing"],"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":"Returns a string of a Location's class name or Task's name (same as taskName).","syntaxes":[{"syntax":"type location","params":[{"name":"location","type":"Location","type_expr":"Location"}],"returns":{"type":"String","type_expr":"String"},"form":"unary","right":{"text":"location"}},{"syntax":"type task","params":[{"name":"task","type":"Task","type_expr":"Task"}],"returns":{"type":"String","type_expr":"String","description":"the type of the task"},"form":"unary","right":{"text":"task"}}],"examples":[{"code":["_locationType = type myLocation;"]},{"code":["_taskName = type myTask;"]}],"see_also":["setType"]}