Help Is it possible to make an item display a picture when you 'use' it? (Read 511 times)

  • Group: Member
  • Joined: Jun 21, 2009
  • Posts: 13
I need to make an item that displays a picture on the screen when used. So If I go to my Items, select it and press enter, it will display a picture, and you can 'use' it as much as you like; it won't 'run out'.
  • Avatar of Dart00
  • Always needing help....
  • Pip
  • Group: Member
  • Joined: Jun 17, 2005
  • Posts: 179
it would be something along the lines of setting the item as infinite number of uses on the items screen somewhere...I think its around the top. As for the picture....You could have the item calls a common event that does a show picture...a wait and then erase picture.

But im not sure if the Default Menu would interfere with this...you may need to make a CMS....RMTutorials has a good curser template which will teach you some clever things on where to start for making a CMS. They are not for the faint of heart.
  • Group: Member
  • Joined: Jun 21, 2009
  • Posts: 13
it would be something along the lines of setting the item as infinite number of uses on the items screen somewhere...I think its around the top. As for the picture....You could have the item calls a common event that does a show picture...a wait and then erase picture.

But im not sure if the Default Menu would interfere with this...you may need to make a CMS....RMTutorials has a good curser template which will teach you some clever things on where to start for making a CMS. They are not for the faint of heart.

Aw... this sounds too complicated, and having the wait thing, that would be annoying. They would probably get frustrated waiting for it to dissapear.
  • Avatar of JMickle
  • I gots a lego!
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Feb 4, 2007
  • Posts: 1922
just make the item run a common event that shows a picture. Surely you can do what you want with it after taht?
www.jmickle.com
  • Group: Member
  • Joined: Jun 21, 2009
  • Posts: 13
just make the item run a common event that shows a picture. Surely you can do what you want with it after taht?

Yeah, but will it screw over the menu?
  • Avatar of Dart00
  • Always needing help....
  • Pip
  • Group: Member
  • Joined: Jun 17, 2005
  • Posts: 179
Yeah, but will it screw over the menu?

Try it?

Aw... this sounds too complicated, and having the wait thing, that would be annoying. They would probably get frustrated waiting for it to dissapear.

And the wait would be for if you want the picture to showup on the screen for a moment then disapear...depends on what your doing I guess....a Show picture then a Earase Picture would show the picture for like ~0.0166 of a second.... You can also specify how "long" to wait.... .25 seconds?....1 Seconds?.... 1.5 Seconds?....etc.
Last Edit: July 31, 2009, 12:55:49 am by Dart00
  • Avatar of the bloddy ghost
  • ::pulls another Hideo Kojima::
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Mar 25, 2003
  • Posts: 1050
it won't screw up the menu showing a picture. i'll give you a working example of how to do it in a little bit.

Are you wanting to do like a note/clue, or a map?

http://pub.gamingw.net/30984/Map%20Example.zip

here you gfo.
Last Edit: July 31, 2009, 04:28:59 am by Tomato
has a girl in his bed. pot in his pipe and family guy on the tube. i like life
  • Group: Member
  • Joined: Jun 21, 2009
  • Posts: 13
it won't screw up the menu showing a picture. i'll give you a working example of how to do it in a little bit.

Are you wanting to do like a note/clue, or a map?

http://pub.gamingw.net/30984/Map%20Example.zip

here you gfo.

It's basically a note. It's kinda like Resident Evil where you file books and stuff you find. That's what this is. Except it displays an E-mail message, and another is a document.  It would be nice to have a step by step tutorial on this.
  • Avatar of the bloddy ghost
  • ::pulls another Hideo Kojima::
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Mar 25, 2003
  • Posts: 1050
1. Go into tools->database.
2. Click on Items.
3. Make a new item that is a switch which has unlimited uses. Make a new switch for each item you want to make like this.
4. Go to the common events tab
5. Make a new common event for each item called "ShowWhatever" where Whatever is what you want to show. Make sure the trigger is parallel process and the trigger switch is the one you created for the item.
6. For the script:
    Show picture blah 1 320 240
    Wait: Until Key Pressed
    Erase Picture 1
   Switch Operation ItemSwitch Off

and there you go.
 
has a girl in his bed. pot in his pipe and family guy on the tube. i like life