setFlagAnimationPhase

From Bohemia Interactive Community
Revision as of 00:46, 9 December 2016 by Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.67|= Game version |arg= global...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 Development Branch version 1.67
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3 Development Branch
Version:
1.67

Description

Description:
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 the changes to the flag position are local to the PC command is executed on.

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

Multiplayer:
-
See also:
flagflagOwnersetFlagSidesetFlagTextureflagSideflagTexturegetFlagAnimationPhaseFlag Textures

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section