Arma 3
100 ratings
Flag Interact - Raise and Lower Flags on Flagpoles.
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Mechanics
File Size
Posted
Updated
27.672 KB
15 Dec, 2019 @ 5:33am
29 Oct, 2022 @ 5:29pm
9 Change Notes ( view )

Subscribe to download
Flag Interact - Raise and Lower Flags on Flagpoles.

Description
Flag Interact for Arma 3

Flag Interact allows players to interact with any flagpole in the game. Flags can be moved from full mast, to half mast, and taken down. Currently supports over 300 flags including those from various mods & DLCs.

BE SURE TO READ THE PERMISSIONS LISTED AT THE BOTTOM OF THIS POST
Join my discord to keep updated on the development![discord.gg]

Flag Interact supports flags from the following mods.
CUP Terrains - Core
UnderSiege Flags & Markers
European Flags & Factions[www.armaholic.com]

How to use:
Approach a flag that was placed by the editor and use the scroll wheel to change it.

How to add custom flag support:
Get the classname of the flag by mousing over it in the Eden Editor and executing:
flagArray pushBack "CLASSNAME";

If you don't want somebody to be able to interact with flag poles simply execute:
player setVariable ["canInteractWithFlags",false,true];

Multiplayer Requirements
Add the following line to your mission files init.sqf
[] call warnerFlag_fnc_init;

Permissions:
-You may use the FlagInteract.pbo on your server without receiving permission from the Author.
-You may redistribute the FlagInteract.pbo as long as you give proper credit to the Author.
-You may not remove any code from the FlagInteract.pbo to use in your own mods/mission/projects without permission from the Author.
-You may repack the FlagInteract.pbo with edits made to the code as long as you do not modify the comment blocks.
69 Comments
Napsius 21 Apr @ 8:57am 
It's perfect, thanks a lot !
Napsius 21 Apr @ 8:41am 
Thanks, I will try that !
Warnerm14  [author] 20 Apr @ 7:58am 
@Napsius Apologies I did forget 2 lines. Make the flags init section look like this:

this setFlagAnimationPhase 0;
this setVariable ["flagTxt",(flagTexture this),true];
this forceFlagTexture "\FlagInteract\textures\flagBlank.paa";
Napsius 19 Apr @ 11:25am 
When I do that, the flag doesn't disappear, it's just at the base of the pole). How can I solve that ?
Napsius 19 Apr @ 10:17am 
Thanks !
Warnerm14  [author] 18 Apr @ 6:30am 
@Napsius You will have to put the "flagArray pushBack "CLASSNAME";" in the mission files init.sqf file. And to make the flag start at the bottom you will have to put "this setFlagAnimationPhase 0;" in the flags init section.
Napsius 18 Apr @ 5:00am 
Hi ! I want to use this on a roleplay server (with a custom flag from AMF). So if I understood correctly, I just have to add the "flagArray pushBack "CLASSNAME";" line in the flag's init ?

Also, I want the flag to be taken down by default. How can I do that ?
Apophis 15 Sep, 2023 @ 4:44pm 
Yes, I do this step. but it still doesnt work :(
Warnerm14  [author] 15 Sep, 2023 @ 3:09pm 
@Apophis I'm not sure, it used to work fine in MP but there was a change at some point that causes it not to always work for some people. Did you do the step listed under "Multiplayer Requirements"?
Apophis 15 Sep, 2023 @ 2:47pm 
There is something to add in the file cfgRemoteExec? The mod don't work in my dedicated server, but in Eden yes