by Marisa the Magician » Fri Aug 02, 2019 1:34 am
For some reason, ResolveState and FindState (without exact = true) always succeed when checking for "XDeath" with any actor that's shootable or a missile, even if the actor does not have such a state (e.g.: BossBrain).
This sample mod will print to the console the result of various checks for XDeath being available on the actor. Running it on MAP30 makes it succeed for the boss brain, running it on E1M1 shows that the barrels also match up (even though they don't have XDeath). All player-shootable missiles do get matched too, even though none of them have XDeath defined.
For some reason, ResolveState and FindState (without exact = true) always succeed when checking for "XDeath" with any actor that's shootable or a missile, even if the actor does not have such a state (e.g.: BossBrain).
[url=https://marisakirisa.me/tmp/gibbables_m.zip]This[/url] sample mod will print to the console the result of various checks for XDeath being available on the actor. Running it on MAP30 makes it succeed for the boss brain, running it on E1M1 shows that the barrels also match up (even though they don't have XDeath). All player-shootable missiles do get matched too, even though none of them have XDeath defined.