flagAnimationPhase: 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 - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *F([a-z])" to "$1 - f$2")
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.68


|1.68|Game version=
|arg= global


|arg= global |Multiplayer Arguments=
|gr1= Flags


|gr1= Flags |GROUP1=
|descr= Returns flag position on the flag pole.
____________________________________________________________________________________________


| Returns flag position on the flag pole in range of 0..1, where 0 is bottom of the flag pole, 1 is the top of the flag pole. The result is local to the PC on which command is executed|DESCRIPTION=
|mp= The result is local to the PC on which command is executed.
____________________________________________________________________________________________


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


|p1= flag: [[Object]] - flag pole of the type "FlagCarrier"|PARAMETER1=
|p1= flag: [[Object]] - flag pole of the type {{hl|"FlagCarrier"}}


| [[Number]] - 0...1 |RETURNVALUE=
|r1= [[Number]] - flag position in range from 0 to 1, where 0 is bottom of the flag pole, 1 is the top of the flag pole
____________________________________________________________________________________________
 
|x1= <code>[[flagAnimationPhase]] _flag1; //0.5</code> |EXAMPLE1=
____________________________________________________________________________________________


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


|seealso= [[setFlagAnimationPhase]] [[Arma 3: Flag Textures]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
</dl>
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 14:11, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns flag position on the flag pole.
Multiplayer:
The result is local to the PC on which command is executed.
Groups:
Flags

Syntax

Syntax:
flagAnimationPhase flag
Parameters:
flag: Object - flag pole of the type "FlagCarrier"
Return Value:
Number - flag position in range from 0 to 1, where 0 is bottom of the flag pole, 1 is the top of the flag pole

Examples

Example 1:
flagAnimationPhase _flag1;

Additional Information

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