Hi, I'm having an issue on the iteration for drawing the rooms in the player ship. In the function _ready_not_editor_hint(), the line "for point in room:" returns "Unable to iterate on object of type 'Object'.", and the game crash. I reviewed all the scripts and compared with the tutorials, and cannot find the error. Someone else is having this issue?
Hey LaloGamer, you get this error only if:
Please review the Coding the room’s iterator functions sub-chapter. You can further read about them in the official docs. If none of this helps you'll have to give us your project to take a look at the code and setup otherwise it'll be very difficult to debug this.