You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running into an issue with assigning the WeaponSystem in the Behavior. It looks like the default WeaponSystem for the Fighter behavior is getting set before it checks if the custom behavior is attempting to assign a WeaponSystem, so if you use [BehaviorName:Fighter], then you cannot set a [WeaponSystem:.....] in the same behavior. I think the culprit is the check in CoreBehavior.cs:1033.
Running into an issue with assigning the WeaponSystem in the Behavior. It looks like the default WeaponSystem for the Fighter behavior is getting set before it checks if the custom behavior is attempting to assign a WeaponSystem, so if you use [BehaviorName:Fighter], then you cannot set a [WeaponSystem:.....] in the same behavior. I think the culprit is the check in CoreBehavior.cs:1033.
if(string.IsNullOrWhiteSpace(BehaviorSettings.WeaponsSystemProfile))
Commenting out the line seems to fix the issue (I would assume that any explicit assignments in the behavior should override any defaults).
The text was updated successfully, but these errors were encountered: