Sure, you can do that with one window. Just make compact and full-size draw methods (or combine the two into one and pass an argument to specify full-size). Then whatever item index is currently active, perform a refresh to re-draw that one full-size while the rest are drawn as compact. The item rect would also need to change between full-size and compact for selection purposes.
Multiple windows could mean a little less re-drawing if you made a window for each character that toggled between compact and full-size, but that might also be a little more complex to pull off.
Thanks for reply,
I'll try some things... also how to get party member's position? $game_party.members[index] or something like this? How to use that properly in condition for if/case?
Something like: If someone is leader (1st pos) it draws full size, if somebody is on 2nd pos. it also draws full size, and else make compact size.
about another window I thought about putting all of reserve members in second window, so in the first default, there would be 2 actors with full size, and in the other window reserve members with compact size status...
I'm kinda confused now...
It seems that I have problem with this.
I can't setup that properly, only messed up menu. =P
I could easily do that in another custom menu, but the thing is that it wouldn't be displayed when using items etc.
Damn my scripting skills... or lack of them.
This is evolving into something that needs its own thread, as it's quite a bit more complicated than you initially anticipated.
Inside the make_item_damage method, how can you access the target of all of that damage, as all I see is user (for the user of the item), and item (for the item used)? So, how does it know who to apply the pdr, mdr and such to? After all, the user would make 0 sense, and the item is usually a skill, so how is it accessing that data from the target?
Specifically,I need to know this as I want to be able to access the states of the target of the item damage inside the make_item_damage method, so I need to know how this in order to be able to do what I want.
Here's the math.
radians = degrees * Math:😛I / 180degree = radians(Math.atan2(hero.y - ai.y, ai.x - hero.x))hero and ai are arguments that can be changed by just calling it in an event.
Well let me explain what the script should do, the hero or event can one or the other back based on the degree shown in the math example.
While as simple as this is I've never actually gotten it to work, if anyone can help it'd be appreciated.
@bgillisp - what class is that method in? If it's in Game_Battler, then self would be the target.
@Shaz: Thanks, that was what I was forgetting.
Is there a way to check a troop id if it contains certain enemy?
Thanks.
Looking for code to make "press enter" fade in and out like old console games.
Is there a variable somewhere that'll let me add a wait time between actions in battle? My PCs and mobs attack so quickly after one another that it looks like they're trading blows. It's really distracting.
You must have a script that's making it do that, because the default behaviour is for each one to wait its turn. Post a new thread and include a link to the battle system you're using. (don't paste the script into your post).
How do I set it up so whenever a character levels up, it stores a value in a variable. Each character would have their own variable for this. This is essentially a poor man's talent system.
Character A levels up to level 2. Gains 1 talent point which is stored in a variable.
Chareacter A can spend that talent point on stats and abilities.
I just don't know how to add +1 value to a variable on each level up.