BlackRabbitMsk
Refugee
Hello. I wrote a mod that counts kills with a specific weapon. To track kills from grounded turrets, I use the following code:
This counter works correctly in local play. However, when using it on a dedicated server, it stops counting if an enemy is killed by a turret placed on the ground.
Could you tell me what this issue is?
<triggered_effect trigger="onSelfKilledOther" action="ModifyCVar" cvar="CountRoboticsExpert" operation="add" value="1">
<requirement name="HoldingItemHasTags" tags="perkTurrets"/>
<requirement name="ItemHasTags" tags="perkTurrets"/>
<requirement name="!EntityTagCompare" target="other" tags="vehicle"/>
</triggered_effect>
This counter works correctly in local play. However, when using it on a dedicated server, it stops counting if an enemy is killed by a turret placed on the ground.
Could you tell me what this issue is?