flagTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "local" to "local")
Line 10: Line 10:
|gr1= Flags
|gr1= Flags


|descr= 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.
|descr= Returns texture of the [[Multiplayer Scripting#Locality|local]] instance of the flag. A getter for [[setFlagTexture]]. It will not return flag textures applied using [[forceFlagTexture]], use [[getForcedFlagTexture]] for that.


|s1= [[flagTexture]] flagCarrier
|s1= [[flagTexture]] flagCarrier

Revision as of 17:13, 21 June 2021

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