flagTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.54|Game version=
|1.54


|arg= global |Multiplayer Arguments=
|arg= global


|eff= local |Multiplayer Effects=
|eff= local


|gr1= Flags |GROUP1=
|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. |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.


| [[flagTexture]] flagCarrier |SYNTAX=
| [[flagTexture]] flagCarrier


|p1= flagCarrier: [[Object]] - flag or person |PARAMETER1=
|p1= flagCarrier: [[Object]] - flag or person


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


| [[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]]


}}
}}

Revision as of 01:37, 18 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

Bottom Section