flagAnimationPhase

From Bohemia Interactive Community
Revision as of 23:51, 8 December 2016 by Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.67|= Game version |arg= global...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.67|1.67]]
Hover & click on the images for description

Description

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

Syntax

Syntax:
getFlagAnimationPhase flag
Parameters:
flag: Object - flag pole of the type "FlagCarrier"
Return Value:
Number - 0...1

Examples

Example 1:
getFlagAnimationPhase _flag1; //0.5

Additional Information

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

[[Category:Introduced with arma3dev version 1.67]][[ Category: arma3dev: New Scripting Commands | FLAGANIMATIONPHASE]][[ Category: arma3dev: Scripting Commands | FLAGANIMATIONPHASE]]

Notes

Bottom Section