{"name":"forceFlagTexture","title":"forceFlagTexture","type":"command","url":"https://community.bistudio.com/wiki/forceFlagTexture","revid":348626,"updated":"2023-11-08T13:46:04Z","groups":["Flags"],"status":"ok","games":{"arma3":"1.70"},"since":"arma3 1.70","arma3_since":"1.70","locality":{"argument":"global","effect":"global"},"description":"Forces a flag texture onto a flag carrier (unit, vehicle or flag pole).\nNo flag holder is required. If `\"\"` is used as texture, the texture is removed.\nThis will override regularly owned flags.\nThis type of flag texture cannot be retrieved using flagTexture, but getForcedFlagTexture.\n\n> [!IMPORTANT]\n> Forced flag texture is an additional flag texture, which visually overrides original flag texture and therefore is very expensive to simulate, so use the functionality sparingly.","syntaxes":[{"syntax":"object forceFlagTexture texture","params":[{"name":"object","type":"Object","description":"vehicle, unit or flag pole","type_expr":"Object"},{"name":"texture","type":"String","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"object"},"right":{"text":"texture"}}],"examples":[{"code":["player forceFlagTexture \"\\A3\\Data_F\\Flags\\Flag_red_CO.paa\";"]}],"see_also":["getForcedFlagTexture","Arma 3: Flag Textures"]}