Hello ladies and gentlemen and others,
first of all, have a successful and relaxed 2024.
I'm a bit stuck here with my little modlet and can't get any further with scripting.
I would like to achieve that a certain trigger only occurs when I enter a vehicle of a certain class OR a vehicle that has a unique TAG.
For example, it should trigger for the Jeep class, but not for bicycles, minibikes, motorcycles, etc.
It would be even better if it is triggered by a specific TAG when the vehicle is entered.
My trigger currently triggers correctly and also ends correctly when I leave a vehicle, but it does not take into account the class requirement or the corresponding tags.
Protective Vehicles A21 at 7 Days to Die Nexus - Mods and community (nexusmods.com)
Line extract:
<append xpath="/buffs/buff[@name='buffStatusCheck01']">
<effect_group>
<triggered_effect trigger="onSelfBuffUpdate" action="AddBuff" buff="buffProtectiveVehicles">
<requirement name="IsAttachedToEntity" class="EntityVJeep"/>
</triggered_effect>
It would be amazing if you could help me out here.
Happy mindless butchery to you all.