flagTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3


|1.54
|version1= 1.54


|arg= global
|arg= global
Line 11: Line 11:
|gr1= Flags
|gr1= Flags


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


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


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


| [[String]]
|r1= [[String]]
   
   
|x1= <code>_flagTexture = [[flagTexture]] _flag1;</code>
|x1= <code>_flagTexture = [[flagTexture]] _flag1;</code>


|seealso= [[setFlagTexture]], [[flag]], [[flagOwner]], [[setFlagOwner]], [[flagSide]], [[setFlagSide]], [[setFlagAnimationPhase]], [[flagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]]
|seealso= [[setFlagTexture]] [[Arma 3: Flag Textures]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 12:53, 28 May 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