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
KFM's helper will destroy itself instead of the enemy helpers, despite using RedirectID
Expected behavior
Destroyself with RedirectID should destroy the targeted helper, of course. Incidentally, the state controller might need to be adjusted to that the rest of the state is still processed if it uses RedirectID, like what happened with ChangeState and SelfState.
Screenshots / Video
No response
Engine Version (or source code date)
28/02/2023
Operating system
Windows
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered:
I couldn't reproduce it. I assume you've experienced this problem because of typo - in your test kfm you've used "reidrectID" instead of "redirectID". I think we should make the compiler more strict to catch such typos.
But there was a different problem here that has been fixed: when destroyself was used it stopped further script execution even if it was redirected to different id
Silly me. I was going trough my list of things to report, so I'm sure it didn't work at some point, but then made that typo in the test case. Well what matters is that it's working and something good still came out of this report. Thanks.
Describe the bug
These two currently don't work together. The helper that calls it will destroy itself instead of the redirected target.
To Reproduce
Download this debug version of KFM
kfmdestroyself.zip
Create helpers with P2
KFM's helper will destroy itself instead of the enemy helpers, despite using RedirectID
Expected behavior
Destroyself with RedirectID should destroy the targeted helper, of course. Incidentally, the state controller might need to be adjusted to that the rest of the state is still processed if it uses RedirectID, like what happened with ChangeState and SelfState.
Screenshots / Video
No response
Engine Version (or source code date)
28/02/2023
Operating system
Windows
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered: