setFlagAnimationPhase: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.67|= Game version |arg= global...") |
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma3 |Game name= | ||
|1. | |1.68|Game version= | ||
|arg= global |= | |arg= global |Multiplayer Arguments= | ||
|eff= local |= | |eff= local |Multiplayer Effects= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets flag position on the flag pole according to the given animation phase, where 0 is bottom of the flag pole, 1 is the top of the flag pole. The | | 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. To animate flag use [[BIS_fnc_animateFlag]]|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| flag '''setFlagAnimationPhase''' phase |= | | flag '''setFlagAnimationPhase''' phase |SYNTAX= | ||
|p1= flag: [[Object]] - flag pole of the type "FlagCarrier"|= | |p1= flag: [[Object]] - flag pole of the type "FlagCarrier"|PARAMETER1= | ||
|p2= phase: [[Number]] - 0...1 |= | |p2= phase: [[Number]] - 0...1 |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_flag1 [[setFlagAnimationPhase]] 0.5;</code> |= | |x1= <code>_flag1 [[setFlagAnimationPhase]] 0.5;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[flag]], [[flagOwner]], [[setFlagSide]], [[setFlagTexture]], [[flagSide]], [[flagTexture]], [[ | | [[flag]], [[flagOwner]], [[setFlagSide]], [[setFlagTexture]], [[flagSide]], [[flagTexture]], [[flagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] |SEEALSO= | ||
}} | }} |
Revision as of 19:44, 1 September 2019
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. To animate flag use BIS_fnc_animateFlag
- 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:
- flagflagOwnersetFlagSidesetFlagTextureflagSideflagTextureflagAnimationPhaseforceFlagTexturegetForcedFlagTextureFlag 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