flagSide: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *F([a-z])" to "$1 - f$2")
 
(19 intermediate revisions by 2 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 |Multiplayer Arguments=
|eff= local


|eff= local |Multiplayer Effects=
|gr1= Flags
____________________________________________________________________________________________


| Returns [[Side]] of the [[local]] instance of the flag. A getter for [[setFlagSide]].|DESCRIPTION=
|descr= Returns [[Side]] of the [[Multiplayer Scripting#Locality|local]] instance of the flag. A getter for [[setFlagSide]].
____________________________________________________________________________________________


| '''flagSide''' flag |SYNTAX=
|s1= [[flagSide]] flag


|p1= flag: [[Object]] - flag |PARAMETER1=
|p1= flag: [[Object]] - flag


| [[Side]] |RETURNVALUE=
|r1= [[Side]]
____________________________________________________________________________________________
 
|x1= <code>_flagSide =  [[flagSide]] flag;</code> |EXAMPLE1=
____________________________________________________________________________________________


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


|seealso= [[setFlagSide]] [[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 14:11, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns Side of the local instance of the flag. A getter for setFlagSide.
Groups:
Flags

Syntax

Syntax:
flagSide flag
Parameters:
flag: Object - flag
Return Value:
Side

Examples

Example 1:
_flagSide = flagSide flag;

Additional Information

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