USARStarkey Posted February 15, 2014 Posted February 15, 2014 I am just about finished making a PvP mission for DCS and I am having issues with the final bit. I have about 12 player slots on each team(more than the number of players.) Each team has their own airbase and tries to destroy the other teams base. For each client assigned plane, there is a ai plane just parked on the run field. I wanted to have a trigger where when the corresponding ai plane was destroyed, the players could no longer use its client based counterpart. I placed a trigger so that it was supposed to deactivated the assigned group but it didnt work. Does anyone know what to do? [sIGPIC][/sIGPIC]Weed Be gone Needed
CypherGrunyev Posted February 15, 2014 Posted February 15, 2014 Wrong section... Man I could really use a navigator right about now. i7-3770K @ Stock MSI GD-65 Z77 Mobo G.Skill Ripjaws Z [16GB] @ 2133 Mhz AMD Radeon HD 7950 [sapphire Tech] @ 1150/1600 Mhz OCZ Vector 256GB [C:/] Seagate Barracuda LP 2TB @ 5900RPM [D:/] Western Digital Caviar Black 2TB @ 7200 [E:/] Western Digital Blue 1TB @ 7200 [H:/] Corsair AX850 PSU Corsair 650D Case [so Sexy <3]
Exorcet Posted February 15, 2014 Posted February 15, 2014 Deactivate group removes units from the field. If the unit isn't on the field, it won't do anything. Deactivating the client plane before anyone uses it won't remove it. I don't know if deactivate group will even work on players, but if it does you might want to use a Continuous action trigger so that the deactivate command is given repeatedly. You could also try checking for the client spawn before giving the deactivate order. So instead of just checking that the AI plane is destroyed, check that the AI plane is destroyed and the client plane is on the field (you will need a trigger zone for this), if both are true deactivate. This also needs to be a continuous trigger. Something else you can try, if deactivating players won't work, is to send a message to a "destroyed" client unit telling them to switch aircraft. If they ignore it, you can set their unit to explode after takeoff. Awaiting: DCS F-15C Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files
Recommended Posts