You're walking on the overworld, a state expires and you get a message "Dudeguy stopped bleeding!"
How do I remove those?
Can you just remove the message from the database?
Yes, that is precisely what I wanted, but forgot to specify
Thanks Sixth
Hello everyone
I have 2 question which i want to ask
I'm using VX Ace to create my first game so I'm not that much experienced, please pardon me
1- i want to disable( i.e., greyed out or un-clickable not remove) the save option inside menu while the player is in dungeon but the save option will be available while the player is in towns etc how do i acheive that? Are there any scripts for that? I think it will be easy to do that with scripts :-/
2- another question of mine is that how do i re-spawn enemies on map after a certain period of time like say after 10 seconds the same enemy will respawn at the same place no matter whether the player leaves the map or not. i want to achieve that using scripts too any scripts like these here?
Thanks in advance 🙂
You know, I have to ask something that's been kind of bugging me.
So pretty much everything in RPG script is using methods. And that the methods work by calling each other? And that just plopping a method call in the script - will give it error, so it doesn't seem you can't just loop a script by calling it in a class.
But who calls the methods that start the whole thing? But who was phone?
I'm kinda surprised that u learned all the way to code without even knowing the beginning. I personally started to learn from where it all began. Tracking how the whole program works first before started to code. Simply modifying random method doesn't satisfy me.
Well, I think I kind of went backwards? Like starting at Game_Battler - and following it to Game_BattlerBase and then just using google to look up how some of the unfamiliar terms work and just trying to understand the relationship everything has to each other, and how they reference things from each other.
Right now, I'm looking into how looping statements like "While" work - and how I can use it to simplify some of the scripts I'm working on. So it is kind of "I need this to do something" so I start digging for things that might lead to it. Leading to me finding things "out of order" I guess?
Though I did have a few years using Game Maker coding and doing some basic mod scripting for whatever Oblivion, and Fallout uses - so I do have some memory of coding. Though it was kind of hard getting used to going from "objects" that you add code too - to objects, that are basically just pure text.
The flow goes like this, from @scene.main while @scene
in class Scene_Base and their subclasses, there's method "main", it contains start -> post_start -> update ->pre_terminate -> terminate
The first call of method main, brought you into Scene_Title
> it calls start (create windows)
> then post start (perform transition)
> then we're stuck in update (this is where our game works)
> It stuck UNTIL the scene changes. In short, when we click new game, or continue
> Scene changes, say, we click continue
> It flows through pre_terminate and terminate, disposing the windows and sprites
> Theoretically, it should END the program, but no. @scene in SceneManager is still not nil. It just changed from Scene_Title to Scene_Load
> Because the statement is @scene.main while @scene. We back again at start creating window, and stuck on the update, until scene changes.
> Game ends when the @scene is empty.
That's interesting. I am trying to figure out more about how update works - I know there are a few update methods scattered around the scripts, but they don't seem to use any looping statements (which much to my dismay - always countdown to 0 instantly) - I guess if I search through a few of the Scene or maybe the Manager itself might help me understand what the "frame rate" is and how to get it.
They should not use any looping statement because looping already handled in scene. Say... the scene loop contains
> update map
> update character
> update window
> update spriteset
Why would you add loop inside loop?
Yeah - the battle system I was doing had its sprite changing aliased into the custom sprite effects, I managed to find a much better way to get the sprite changing done - through item use, but I still had to alias on the effect_update.
Though the hope for the loop was to have something that didn't need aliasing - and not need to call up the sprite class, but I'm okay if I have to stick with it, since it's a lot simpler now that I only really need to alias the update call.
That one deserve its own thread. So I suggest you to create one.
After reading the script itself I don't even understand how to use it. Guess I'll just have 'her' do the heavy lifting again.