See code for repro steps. This was introduced with the recent experimental update.
Description
Description
Details
Details
- Severity
- Block
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 11 x64
- Category
- General
Steps To Reproduce
[BaseContainerProps()] modded class SCR_AIDangerReaction_WeaponFired { bool Suppressors_ShouldIgnore(notnull SCR_AIUtilityComponent utility, AIDangerEvent dangerEvent) { return true; // for testing }; override bool PerformReaction(notnull SCR_AIUtilityComponent utility, notnull SCR_AIThreatSystem threatSystem, AIDangerEvent dangerEvent) { if (Suppressors_ShouldIgnore(utility, dangerEvent)) return false; bool res = super.PerformReaction(utility, threatSystem, dangerEvent); return res; }; };
Additional Information
Event Timeline
Comment Actions
An update from @MarioE - the compiler is trying to use an incorrect overload. Two overloads return void, while the one I intend on calling does not.
Comment Actions
Hello, it should be possible to override those methods now (since 1.1 release). Sorry for late response.