Savage-Game-Design / Mike-Force

Mike Force is cooperative, capture-the-island style gamemode for the Arma 3: S.O.G. Prairie Fire CDLC.
Other
31 stars 32 forks source link

Sites: Stop zone soft lock when a player 'steals' site objects. #180

Open dijksterhuis opened 2 months ago

dijksterhuis commented 2 months ago

Some newer players think it's a good idea to steal PAVN mortars/zpus etc and take them back to their FOB.

Repurposing enemy assets is a legit strategy, but it causes a zone to become soft locked as the site will not complete unless the objects are destroyed (not alive).


There's also a case where loading the mortar/zpu into a vehicle with advanced logistics will cause a soft lock. This change also solves that case, but ONLY if the player moves outside the search radius.

I can't quite remember what happens if the player dies within the search radius while the object is still attached to their character model via advanced logistics. My intuition tells me it would not being a good thing.

I can include some of the logic from #178 to cover that additional case.