{"name":"flag","title":"flag","type":"command","url":"https://community.bistudio.com/wiki/flag","revid":353769,"updated":"2024-03-23T14:27:22Z","groups":["Flags"],"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"},"description":"Returns the original flag pole of the flag the unit is carrying.","syntaxes":[{"syntax":"flag unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Object","type_expr":"Object","description":"flag pole object the flag belongs to. If the unit carries no flag, objNull is returned."},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["_flag = flag _soldier;"]}],"see_also":["flagOwner","setFlagOwner","setFlagSide","setFlagTexture","flagSide","flagTexture","setFlagAnimationPhase","flagAnimationPhase","forceFlagTexture","getForcedFlagTexture"]}