Arma 3
Not enough ratings
Functional Swivel Targets
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Structure
File Size
Posted
Updated
0.036 MB
Feb 7, 2018 @ 3:50pm
Feb 7, 2018 @ 4:24pm
3 Change Notes ( view )

Subscribe to download
Functional Swivel Targets

In 1 collection by мя. Stickie
Armaniacs Mods
3 items
Description
Functional Swivel Targets

This mod basically fixes the broken swivel targets (in dedicated MP) and optimizes them for MP usage.

For those who prefer non-modded: you can actually get them to work (but without the optimization) using scripts.

_target setVariable ["BIS_exitScript", false];
Execute above on each target for clients.
It will force the client-side scripts to exit and thus only the server will manage them.

Fixed classes:
  • Target_Swivel_01_ground_F
  • Land_Target_Swivel_01_F

Both tests are 1200 swivel targets on vanilla Altis.
Before [armaniacs.org] / After [armaniacs.org]
Graphics made possible by: Arma Remote Admin[armaremoteadmin.com]
Packed using Mikero's tools[armaservices.maverick-applications.com].


Big thanks to the A3 community!

Have fun with it,


Stickie
< >
8 Comments
Spyke May 24, 2020 @ 3:07pm 
I correct myself "BIS_exitScript" must be set to true, not to false.
Solution: swivelTarget_0 setVariable ["BIS_exitScript", true];
Spyke May 24, 2020 @ 1:50pm 
Hi, I'm trying to use your script, but it doesn't work for me:
what I do is put in the initPlayerLocal.sqf
swivelTarget_0 setVariable ["BIS_exitScript", false];
swivelTarget_1 setVariable ["BIS_exitScript", false];

but it still doesn't work properly. am I doing it right?
Pants May 7, 2020 @ 4:25am 
Hi there, what is the script line to add to the swivel targets so they work on MP with your mod pretty please, i have tried, if (!isServer) then { this setVariable ["BIS_exitScript", false]; };
ムーニー Aug 25, 2019 @ 2:57pm 
Hey Stickie, thanks for this. Works great on our training server. However I have an issue now.

Could you maybe add a bikey?
мя. Stickie  [author] Jan 9, 2019 @ 1:56pm 
@Pax' Jerome
If you use this mod, no actions are needed.
If not, re-perform the steps as described above.
Pax'Jarome Jan 6, 2019 @ 3:26am 
Hi, I just recently tried to use this in a mission for a dedicated host.
I put the line of code in each targets init, but it dod not work. After that I decided to shift it to init via this:
if (!isDedicated) then {
_localTargets = (entities "Target_Swivel_01_ground_F") + (entities "Land_Target_Swivel_01_F");
{
_x setVariable ["BIS_exitScript", false];
} forEach _localTargets;
};
But its still not working. Any clue why?
мя. Stickie  [author] Feb 24, 2018 @ 2:08pm 
@[LTC] Vegas =21st=
Glad you like it. :)
I'll be pushing an update soon for better Zeus support.
[COL] Vegas =21st= Feb 9, 2018 @ 4:31pm 
I think I love you. I submitted this bug report to BIS years ago. Finally we have a fix!