I'm attempting to use a function to configure the stats of an object when its created depending on which weapon the player has equipped.
When i pass the "WeaponEquipped" Variable to the function, the "System (Weapon = "Bat" sub event is ignored even though the spelling matches etc.
If i move the code that sets the damage value etc out of that sub event, so that its at the top level of the function, it will assign the values correctly.
So why can't i use the "System (Weapon = "Bat") check in there?