If you have several events all calling the same common event, they will all be trying to update that variable at the same time.
I suggest this is no longer a "question that doesn't deserve its own thread" as it certainly requires quite a bit of investigation and testing to get it sorted out. Would you care to start a new thread in this forum with all the latest details and necessary links?
You know how, when you look at something in a different way, like with your head cocked and all that? Well, I just looked at the above images. I completely neglected the [CH2 Vanquish Ghosts] common event. This checks the variable CH2. G.Vanquish, to see if its 15 or more. If it's 15 or more, the common event calls "Show Stars" which has five "Move Picture" commands, which do not work during my tests because they haven't been initialized. =______=
Thanks for the help, I'm an idiot!
For your rewards, I shall post a video up in the screenshot thread soon, showing what I've been up to >___<
I feel bad about spamming this topic but progress must be made!
1.
if I were to use this in a script call (this is using a character effect script):
t = Tone.new(100, 0, 0, 0)
this.start_tone_change(t, 60)
would I need additional steps to make sure there's no memory bleed for initializing t? Sorry if I have no idea what I'm talking about.
2.
is it possible to use a "skill" against the actor or party on the map? instead of the "Change HP" command, so it takes into account the formulas and stats of the actors.
3.
Can you overlap two animations onto an event (or in my case, the player) at the same time? Without workarounds like using another event ontop of the player.
The animations would be coming from different directions. Two of them may be from touching two separate events at once. Another scenario may be from touching the event while a parallel process waiting for a button press is triggered.
If this is better in a separate topic I'll go ahead and make one.
1. Garbage collector should handle it at some point, so no. Well, it's not a bitmap object so you probably don't have to worry.
2. Set a variable using a formula script call and then change HP by variable designation
3. Try it?
So, quick question, what does $data_system.version_id do? I don't see really anything use it, so does anyone else know what it's for? Is it a specific ID for something about the game?
@seita, #3 - no, you can only display one animation at a time over an event, since an event/character has only one animation_id. If you tried to show a second, the first would be cancelled. The only way around it is to move a second event to the same location and show a different animation over each. Or create a single animation that combines the two you want to use.
@Zalerinian, from the help file: "A random number used for update checks. The number changes every time data is saved in RPG Maker."
Thanks Tsuki. As for the formula, how would I reference a specific actor, since I cannot use "a" or "b" without being in the battle system scene?
@Shaz and Tsuki
I've tried it already, from what I've noticed, it doesn't cancel the first animation but rather waits for the first animation to play. If the first animation is still playing, the second doesn't trigger.
Is there a way to make it so that the following animation cancels the first one and plays in its place?
It doesn't even make sense to have a and b because there is no actual user or target.
You'll have to go to $game_actors or $game_party
Right, I read the notes and I knew I couldn't use a or b so I'm just not sure how to specifically reference an actors stats. Here is what I had that didn't work:
100 - $game_actors[0].def * 2
100 - $game_actor[0].def * 2
In reference to the first actor in the party~
It depends on who you want. If you want the leader, do $game_party.members[0].def otherwise if you want a specific actor, you have to use that actor's id as the index. There is no $game_actors[0] - Actor 1 is $game_actors[1]
That's perfect, thanks! I only need the leader since my project only has one protagonist.
I want to increase the height of every one of my maps by 2 tiles. Instead of doing it manually, I wrote this little snippet:
(1...999).each do |m| fname = sprintf('Data/Map%03d.rvdata2', m) next if !File.exist?(fname) map = load_data(fname) p sprintf('%s: %d - %d', map.display_name, map.height, map.height + 2) map.height += 2 f = File.open(fname, 'wb') Marshal.dump(map, f) f.closeendWhile it prints the correct information to the console and the file date/time are updated, when I close the project and reopen, none of the maps have actually changed.
Using map.height = map.height + 2 gives the same results.
Any idea what I'm missing?
Changing the map height doesn't change the size of the tile map.
Ah, thanks 🙂
Okay, so I resized the @data table as well, but instead of making it 2 longer, it actually made it 4 longer.
Think I'll just do them manually. I guess I don't need to do every single one - only those where the lower exit is now covered by my map hud.
Alright, so is it possible for me to zoom in a window, just like you can with a sprite? The best I ended up getting was getting a copy of the contents and enlarging that, but not the window itself. So can I somehow turn the whole window into a bitmap and then zoom with that, or is it not possible?
Just change the dimensions of the window and enlarge the contents while you're at it.
But the contents are a regular bitmap, are they not? I only saw a zoom ability on sprites and not the bitmaps. Would I be able to make the contents a sprite, and have thatr work the same way as normal?
No I meant literally increasing the width and height of the window.
If you increase the size of the window while stretching the bitmap, I think it would look like you are zooming in on the window...
You can pretty much treat the window itself as a vector image (in a very loose sense, with reference to the window background and frame) so it's not like it'll get blurry or anything if you change the size.
Might need to zoom the map and everything else as well if your intention is to zoom the entire view.