setFlagAnimationPhase: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> </dl>" to "") |
m (formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|1.68 | |version1= 1.68 | ||
|arg= global | |arg= global | ||
Line 11: | Line 11: | ||
|gr1= Flags | |gr1= Flags | ||
| Sets flag position on the flag pole | |descr= Sets flag position on the flag pole. To animate flag use [[BIS_fnc_animateFlag]]. | ||
| flag '''setFlagAnimationPhase''' phase | |s1= flag '''setFlagAnimationPhase''' phase | ||
|p1= flag: [[Object]] - flag pole of the type "FlagCarrier" | |p1= flag: [[Object]] - flag pole of the type <tt>"FlagCarrier"</tt> | ||
|p2= phase: [[Number]] - 0. | |p2= phase: [[Number]] - 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. | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>_flag1 [[setFlagAnimationPhase]] 0.5;</code> | |x1= <code>_flag1 [[setFlagAnimationPhase]] 0.5;</code> | ||
|seealso= | |seealso= [[flagAnimationPhase]] [[Arma 3: Flag Textures]] | ||
}} | }} | ||
Revision as of 11:52, 28 May 2021
Description
- Description:
- Sets flag position on the flag pole. To animate flag use BIS_fnc_animateFlag.
- Groups:
- Flags
Syntax
- Syntax:
- flag setFlagAnimationPhase phase
- Parameters:
- flag: Object - flag pole of the type "FlagCarrier"
- phase: Number - 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.
- Return Value:
- Nothing
Examples
- Example 1:
_flag1 setFlagAnimationPhase 0.5;
Additional Information
- See also:
- flagAnimationPhase 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