flagTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 11: Line 10:


|gr1= Flags |GROUP1=
|gr1= Flags |GROUP1=
____________________________________________________________________________________________


| 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. |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. |DESCRIPTION=
____________________________________________________________________________________________


| [[flagTexture]] flagCarrier |SYNTAX=
| [[flagTexture]] flagCarrier |SYNTAX=
Line 21: Line 18:


| [[String]] |RETURNVALUE=
| [[String]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>_flagTexture = [[flagTexture]] _flag1;</code> |EXAMPLE1=
|x1= <code>_flagTexture = [[flagTexture]] _flag1;</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[setFlagTexture]], [[flag]], [[flagOwner]], [[setFlagOwner]], [[flagSide]], [[setFlagSide]], [[setFlagAnimationPhase]], [[flagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] |SEEALSO=
| [[setFlagTexture]], [[flag]], [[flagOwner]], [[setFlagOwner]], [[flagSide]], [[setFlagSide]], [[setFlagAnimationPhase]], [[flagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] |SEEALSO=

Revision as of 02:23, 17 January 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 - flag or person
Return Value:
String

Examples

Example 1:
_flagTexture = flagTexture _flag1;

Additional Information

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

Notes

Bottom Section