flagTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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=


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


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


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


}}
}}

Revision as of 14:39, 7 April 2019

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:
Uncategorised

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