Arma 3 Scripting

forceFlagTexture

  • Global argument
  • Global effect
  • Arma 3 v1.70

Command · Markdown · JSON · original wiki page

Description

Forces a flag texture onto a flag carrier (unit, vehicle or flag pole). No flag holder is required. If "" is used as texture, the texture is removed. This will override regularly owned flags. This type of flag texture cannot be retrieved using flagTexture, but getForcedFlagTexture.

Important

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.

Syntax

object forceFlagTexture texture

Parameters:

Returns: Nothing

Examples

Example 1

player forceFlagTexture "\A3\Data_F\Flags\Flag_red_CO.paa";

See also

getForcedFlagTexture · Arma 3: Flag Textures