New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gates triggered by switches are stuck after loading #193
Conversation
@pawbuj1981 Thanks for the report! Can you give an example gate in the world where we can test it with? I will revisit the provided fix and try to remember the root of the problem again to make sure we are not introducing bugs with a half-working solution. |
Hi Szap I tested in OC main camp gate . This bug is really easily to reproduce it.
|
Szap in the attachement there is the best script version fix we tested in that time ( u made a quite few versions ! ). Ur example from WOG may be obsolete ! Pls try from the attachement as a base. |
Thanks for providing it! Nevertheless, the relevant script portions are equivalent. |
The test requires manual confirmation:
Note: The state of the fix (i.e. |
Model retrieval was not checked properly
Describe the bug
After using a switch/lever/winch to close a gate, the switch does not work anymore after loading a game and the gate is stuck.
Expected behavior
Objects activated by switches/levers/winches are no longer stuck after loading a game.
Steps to reproduce the issue
Additional context
Attached the fix done by szapp 2 years ago.
See also the original post on WoG: https://forum.worldofplayers.de/forum/threads/?p=25954985