olivialove wrote:Now I am wondering it if is possible to change that room picture in game play. Like maybe an explosion goes off in the room and now the picture shows that. Or maybe replacing the room picture with a picture of a character the player is talking to. I tried changing the object (room) attribute (room.picture), but that didn't work. I could just move the player to another room I guess, unless there is a better way to do it.
The 'room.picture' attribute is a string that tells the game what picture to get. It should really only be changed if you leave the room and come back.
To change the picture while you're in the room, just use:
SetFramePicture("image1.jpg")
Where 'image1.jpg' is the name and format of your picture.[/list]
If you want it to stay that image even if you leave/re-enter the room, you can just put this into a 'Set a variable or attribute' script:
room.picture = "image1.jpg"