Some commands are not being read from Game Logics on the loading of a saved game.
Description
Description
Details
Details
- Legacy ID
- 3198303643
- Severity
- None
- Resolution
- Open
- Reproducibility
- Have Not Tried
- Category
- Scripting
Steps To Reproduce
Enter the editor.
Place a game logic named "Game_Logic_A" next to a damaged windmill structure (as an example). Add this to the init box: ((nearestobjects [this, ["Land_d_Windmill01_F"], 5]) select 0) hideObject true;
Now save game and load it. You will notice that the windmill which was originally hidden is no longer.
Event Timeline
Comment Actions
Loading saved games is known to screw up a lot of things, I'd suggest not using code in an editor object's init.