Sorry for troubling you folks, but I've run into a problem, I can't solve on my own.
The situation is the following:
In my current project I want to include crates/chests that have to be pried open, before they can be lootet. The way it's supposed to work, is a condition checking if anyone in the party has any 'light weapons' or 'heavy weapons' (those are some of my weapon types) equipped and then either open the crate/chest or telling the player, that they need an appropriate weapon.
It shouldn't matter, who is carrying the weapon (as long as it's somebody in the current party) or what exact weapon it is (as long as it's a 'light weapon' or 'heavy weapon').
However, the vanilla conditions can only check if a certain character is carrying a certain weapon (instead of a weapon type).
If anyone knows a way around this, i'd be much obliged. A script that activates a switch, if a weapon is being equiped could do the trick, but I'm open to every kind of suggestion.
The situation is the following:
In my current project I want to include crates/chests that have to be pried open, before they can be lootet. The way it's supposed to work, is a condition checking if anyone in the party has any 'light weapons' or 'heavy weapons' (those are some of my weapon types) equipped and then either open the crate/chest or telling the player, that they need an appropriate weapon.
It shouldn't matter, who is carrying the weapon (as long as it's somebody in the current party) or what exact weapon it is (as long as it's a 'light weapon' or 'heavy weapon').
However, the vanilla conditions can only check if a certain character is carrying a certain weapon (instead of a weapon type).
If anyone knows a way around this, i'd be much obliged. A script that activates a switch, if a weapon is being equiped could do the trick, but I'm open to every kind of suggestion.