flagTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2")
 
Line 14: Line 14:
|s1= [[flagTexture]] flagCarrier
|s1= [[flagTexture]] flagCarrier


|p1= flagCarrier: [[Object]] - Vehicle, unit or flag pole
|p1= flagCarrier: [[Object]] - vehicle, unit or flag pole


|r1= [[String]]
|r1= [[String]]

Latest revision as of 15:53, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns texture of the local instance of the flag. A getter for setFlagTexture. It will not return flag textures applied using forceFlagTexture, use getForcedFlagTexture for that.
Groups:
Flags

Syntax

Syntax:
flagTexture flagCarrier
Parameters:
flagCarrier: Object - vehicle, unit or flag pole
Return Value:
String

Examples

Example 1:
_flagTexture = flagTexture _flag1;

Additional Information

See also:
setFlagTexture 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