Difference between revisions of "setFlagSide"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
(One intermediate revision by the same user not shown)
Line 45: Line 45:
[[Category:Scripting Commands OFP 1.96|SETFLAGSIDE]]
[[Category:Scripting Commands OFP 1.96|SETFLAGSIDE]]
[[Category:Scripting Commands OFP 1.46|SETFLAGSIDE]]
[[Category:Scripting Commands OFP 1.46|SETFLAGSIDE]]
[[Category:Scripting Commands ArmA|SETFLAGSIDE]]
[[Category:Scripting Commands Armed Assault|SETFLAGSIDE]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 20:38, 3 June 2020

Introduced with Operation Flashpoint version 1.001.00Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network
Hover & click on the images for descriptions


Sets flag Side. A flag may be taken by any unit that is enemy to the side that owns the flag. Just like with setFlagTexture, if the command executed where unit is local effect of the command will be global and JIP compatible.


flag setFlagSide side
flag: Object
side: Side
Return Value:


Example 1:
_flag1 setFlagSide east;
Example 2:
Capturable OPFOR flag:private _flag = "FlagPole_F" createVehicle position player; _flag setFlagTexture "\A3\Data_F\Flags\Flag_CSAT_CO.paa"; _flag setFlagSide east;

Additional Information

See also:
flagflagOwnersetFlagOwnersetFlagTextureflagSideflagTexturesetFlagAnimationPhaseflagAnimationPhaseforceFlagTexturegetForcedFlagTextureFlag Textures


Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.


Bottom Section