This is what i need:
i have a pot on the stove. i want when touch it will change into a close up image of stove and pot in specipic details. than i want to make some hotspots in it to interact with the stove (like turn the stove on and so), and interact with the pot as well (all in the CLOSE UP view).
any ideas? thx
dikla
NewRoom to the closeup, and when the player leaves the closeup, NewRoom(character[GetPlayerCharacter()].prevroom); ?
i dont want new room. do you now alternativ way? like changing view or somthing?
dikla
Sure. You can do many things. You can create an object of the close-up image (just like you created the pot object), have it turn on when you look at the pot, and have the pot turn off underneath (then when you click with another icon or something, have the new object turn off and the old one turn on).
Alternatively, you can create "CreateGraphicOverlay", or whatever it is now called in the manual these days, which will create a brief graphic. You can use "DisableHotspot" and "EnableHotspot" to turn off and on hotspots if you want to he able to look at different parts at the enlarged pot, and then not after you put it away.
You can also create a new background frame with the close-up of the pot ovelapping, and then display it using "SetBackgroundFrame" -- if you don't want your background to animate, at the "Character Enters Room" script, add "SetBackgroundFrame (0); -- this will keep your background at the first frame when you enter the room.
If you want to be able to examine the pot in this way at any point or any room in the game, you will have to create a gui to display the graphic. Check out the "GUIs" section of the manual for more help on this.
Hope I was helpful.
Oh yeah, and changing the view will work to, with SetObjectView or even SetObjectGraphic.
thank you. i will think about it and let you know.
dikla.