flagTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2")
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.54


|1.54|= Game version
|arg= global


|arg= global |= Arguments in MP
|eff= local


|eff= local |= Effects in MP
|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
|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.
____________________________________________________________________________________________


| '''flagTexture''' flagCarrier |= Syntax
|s1= [[flagTexture]] flagCarrier


|p1= flagCarrier: [[Object]] - flag or person |= Parameter 1
|p1= flagCarrier: [[Object]] - vehicle, unit or flag pole


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


| [[setFlagTexture]], [[flag]], [[flagOwner]], [[setFlagOwner]], [[flagSide]], [[setFlagSide]], [[setFlagAnimationPhase]], [[flagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] |= See also
|x1= <sqf>_flagTexture = flagTexture _flag1;</sqf>


|seealso= [[setFlagTexture]] [[Arma 3: Flag Textures]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SETFLAGSIDE]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Latest revision as of 15:53, 8 November 2023

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