flagAnimationPhase: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *F([a-z])" to "$1 - f$2") |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 16: | Line 16: | ||
|p1= flag: [[Object]] - flag pole of the type {{hl|"FlagCarrier"}} | |p1= flag: [[Object]] - flag pole of the type {{hl|"FlagCarrier"}} | ||
|r1= [[Number]] | |r1= [[Number]] in range 0..1 - flag position, where 0 is bottom of the flag pole, 1 is the top of the flag pole | ||
|x1= <sqf>flagAnimationPhase _flag1;</sqf> | |x1= <sqf>flagAnimationPhase _flag1;</sqf> | ||
Latest revision as of 07:01, 1 January 2026
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 in range 0..1 - flag position, 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.
Only post proven facts here! Add Note