forceFlagTexture

From Bohemia Interactive Community
Revision as of 22:38, 7 May 2022 by Lou Montana (talk | contribs) (Some wiki formatting)
Jump to navigation Jump to search
Hover & click on the images for description

Description

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.
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.
Groups:
Flags

Syntax

Syntax:
object forceFlagTexture texture
Parameters:
object: Object - Vehicle, unit or flag pole
texture: String
Return Value:
Nothing

Examples

Example 1:
player forceFlagTexture "\A3\Data_F\Flags\Flag_red_CO.paa";

Additional Information

See also:
getForcedFlagTexture Arma 3: Flag Textures

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note