I'm trying to create an event to show a picture when the player presses the action button on a painting, and then make it go away if you press any other button or walk away.
The event is
Event 1
Trigger: action button
Show picture 1
Control switches: Close picture=ON
Event 2
Paraell process
Condition Control switch: Close picture=ON
Erase picture 1
In playtest it shows the picture and then crashes with an error:
Script 'sprite_picture' line 54 no method error occuredUndefined method width for nil:nilclass
I don't have any special scripts, just the basic stuff it comes with. Using the Lite version.
The event is
Event 1
Trigger: action button
Show picture 1
Control switches: Close picture=ON
Event 2
Paraell process
Condition Control switch: Close picture=ON
Erase picture 1
In playtest it shows the picture and then crashes with an error:
Script 'sprite_picture' line 54 no method error occuredUndefined method width for nil:nilclass
I don't have any special scripts, just the basic stuff it comes with. Using the Lite version.