setFlagAnimationPhase

From Bohemia Interactive Community
Revision as of 12:13, 9 December 2016 by Killzone Kid (talk | contribs) (typo)
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:
Sets flag position on the flag pole according to the given animation phase, where 0 is the bottom of the flag pole, 1 is the top of the flag pole. The changes to the flag position are local to the PC command is executed on.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_flag1 setFlagAnimationPhase 0.5;

Additional Information

See also:
flagflagOwnersetFlagSidesetFlagTextureflagSideflagTexturegetFlagAnimationPhaseFlag 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 | SETFLAGANIMATIONPHASE]][[ Category: arma3dev: Scripting Commands | SETFLAGANIMATIONPHASE]]

Notes

Bottom Section