KyklopCZ / Kyklop_EW

3 stars 2 forks source link

EW cannot be activated via zeus remote controlled AI #23

Open YetheSamartaka opened 4 years ago

YetheSamartaka commented 4 years ago

As the title says, EW features cannot be activated via zeus remote controlled AI. Zeus has to either be in his own body to perform these actions or take a player to do this job.

Tried in both singleplayer and multiplayer environment (dedicated server).

When quickly going through the code, you are setting some stuff for the player and not for unit (or _unit) in general, so that could cause the inability to use it in such manner.

tech details:

Arma 3 version 2.00 No headless clients were used CBA_A3 version from 22 Apr @ 4:23pm ACE version 3.13.4 KYK_EW version from 16 Oct @ 11:45am

KyklopCZ commented 4 years ago

I'll look into it, but an obvious solution is not controlling units with jammer through remote control, but through a switch unit function of a zeus mod like Achilles

KyklopCZ commented 4 years ago

So I tried swapping the player for unit, which basically had the effect of breaking the ACE actions completely, showing them even to players who didn't have any jammer, while those who did have jammer did see the actions, but couldn't activate them. So if you have any other ideas I would like to hear them. Otherwise the simple solution would be not remote controlling the unit when you want to interact with jammers, but instead switching into the unit.

YetheSamartaka commented 4 years ago

I will try that switch unit, but this is odd that it is not working. Sure, many other things don't work via AI, but this is just on/off button with parameters iirc.