Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

is there a way to do this?

THIS IS PRETTY MUCH A CUT DOWN TREE SCRIPT

is there a way to make a script that shows a certain piece from a tempalte like a tree in the grassland tempalte then when u press enter it shows a window that says cut down tree or nothing if u select nothing it calls scene_map.new and if u select cut down tree it changes the pic to a stump in grassland? Also how do u call soemthing to call a pic?
 
You can do all that with event commands, to be exact: Swiches. Look the usage of those up in the tutorial section of this forum (I don't know if there is a switch tutorial) or the help file that came with RMXP.
 
I know but it takes alot of events to do this :) u have to make tree part by tree part and set if event switch one is on.. then itll make them all turn into nothing it takes lots of events and wow alot of time. Besides this alot of switches since i have more then one tree in each map and already using 20 switches in my game without the tree stuff :(
 
Well regardless of whether or not you script it or do it by events, you'd have to have at least one event per tree, so it's easier to do it with events. Take kaze's recommendation and make a characterset with the tree and a cut down version of the tree, then just simply use a self switch and on the second page have the cut down tree.

Lucky you! I'm in a generous mood. I've made a demo. Characterset included.

http://support.antheasoft.com/Ichabod.exe

It doesn't take tons of events or tons of time; I did it in literally 7 minutes, including the making of the characterset, uploading of the file, and making this post.

It's not encrypted so you can easily see how I did it.
 
Well it would be better if it could erase the evnent so when u go back in the map the tree wil be there again. Ehere is this so called destruction engine. Also thanks dark zero i that is awesome. Do you think you can add the tree in the woods to it?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top