flagAnimationPhase: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}") |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
Line 18: | Line 18: | ||
|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 | |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= < | |x1= <sqf>flagAnimationPhase _flag1;</sqf> | ||
|seealso= [[setFlagAnimationPhase]] [[Arma 3: Flag Textures]] | |seealso= [[setFlagAnimationPhase]] [[Arma 3: Flag Textures]] | ||
}} | }} |
Revision as of 13:16, 5 May 2022
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