武装突袭3

武装突袭3

103 个评价
Flag Interact - Raise and Lower Flags on Flagpoles.
   
奖励
收藏
已收藏
取消收藏
Data Type: Mod
Mod Type: Mechanics
文件大小
发表于
更新日期
27.672 KB
2019 年 12 月 15 日 上午 5:33
2022 年 10 月 29 日 下午 5:29
9 项改动说明 ( 查看 )

订阅以下载
Flag Interact - Raise and Lower Flags on Flagpoles.

描述
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.
70 条留言
STyx2909 5 月 18 日 上午 4:15 
Requesting authorization to include code from the mod with any scenario/campaign/whatever I would come with. Because I am a huge fan and using is as a mod is not enough.
Napsius 2024 年 4 月 21 日 上午 8:57 
It's perfect, thanks a lot !
Napsius 2024 年 4 月 21 日 上午 8:41 
Thanks, I will try that !
Warnerm14  [作者] 2024 年 4 月 20 日 上午 7:58 
@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 2024 年 4 月 19 日 上午 11:25 
When I do that, the flag doesn't disappear, it's just at the base of the pole). How can I solve that ?
Napsius 2024 年 4 月 19 日 上午 10:17 
Thanks !
Warnerm14  [作者] 2024 年 4 月 18 日 上午 6:30 
@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 2024 年 4 月 18 日 上午 5:00 
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 2023 年 9 月 15 日 下午 4:44 
Yes, I do this step. but it still doesnt work :(
Warnerm14  [作者] 2023 年 9 月 15 日 下午 3:09 
@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"?