Personigo de la Ĉefo

Resource Staff
Restaff
Joined
Dec 15, 2014
Messages
153
Reaction score
295
First Language
Russian
Primarily Uses
Say, guys, is there any quick way for event to "memorize" things like skills character have and his stats? For example i want to make common event which will change character's skillset and stats and back, taking to account that these skills may vary.
 

Nirwanda

Procrastimancer
Veteran
Joined
Nov 2, 2012
Messages
1,291
Reaction score
610
First Language
Spanish
Primarily Uses
RMMV
Edit: Sorry, I thought, the question was for ace: I just folowed the link from "recent topics" to this thread without checking.

Though I wonder if there isn't a similar method in XP.

Edit 2: I originally made my post thinking the question was about ACE and later edited it when I realized it was actually for XP. After doing some research (I.E- downloading the XP demo), I found out that everything I said still applies to XP, so here's my post again, with only a screenshoot change:

One of the options in the conditional branch menu allows you to check if an actor has learned a specific skill.

JVaZFTl.png


It's not really "easy"... but I'm not sure if there's another way. By using a common event, you can perform that check with every skill he can learn and activate a switch for each positive, that way you'll be able to "remeber" what skills your character knows.

Aside from using a script, I think that's the easiest way.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,725
Reaction score
8,509
First Language
German
Primarily Uses
RMMV
Why don't you make two actors then and switch between them (perhaps transfering some data when switching)? that way the inactive actor would be the one with the inactive set of skills and data to be used when you switch back.
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
6,115
Reaction score
5,816
First Language
English
Primarily Uses
RMVXA
It's definitely possible, but the difficulty depends on exactly what you're trying to do.  For stats, you can simply copy them to a variable using "Control Variables".  Skills are a little tricker.  You can copy each one to a Switch (Switch 38 = "Aluxes knows Fireball"), or you can use RGSS to copy the whole set of Skill IDs Learned to an array and then read it later.
 

Personigo de la Ĉefo

Resource Staff
Restaff
Joined
Dec 15, 2014
Messages
153
Reaction score
295
First Language
Russian
Primarily Uses
Why don't you make two actors then and switch between them (perhaps transfering some data when switching)? that way the inactive actor would be the one with the inactive set of skills and data to be used when you switch back. 
I thought of that, but this way there weill be 2 actors... with 2 different levels.

It's definitely possible, but the difficulty depends on exactly what you're trying to do.  For stats, you can simply copy them to a variable using "Control Variables".  Skills are a little tricker.  You can copy each one to a Switch (Switch 38 = "Aluxes knows Fireball"), or you can use RGSS to copy the whole set of Skill IDs Learned to an array and then read it later.
I am kinda bad at scripting. I can edit some scripts, but i do not quite understand how they work and can't write any script by myself

It's not really "easy"... but I'm not sure if there's another way. By using a common event, you can perform that check with every skill he can learn and activate a switch for each positive, that way you'll be able to "remeber" what skills your character knows.
Yeah, this is a very long and hard way to do that, since i plan on having something close to hundred skills that need to be swapped...

Well, anyway, thanks you all for help. I'll try to find other ways to do that aside from making hundreds of switches...
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,725
Reaction score
8,509
First Language
German
Primarily Uses
RMMV
I thought of that, but this way there weill be 2 actors... with 2 different levels.
That's why I said to transfer data where needed - if the level is the only thing that should stay identical, use control variable to get the XP from the active actor, then switch actors, then check the XP difference and add it to the newly active actor - that process just needs two or three control variable commands and the change XP command.
It'll still be some work, but less than the work to store and change hundreds of skills
 

Personigo de la Ĉefo

Resource Staff
Restaff
Joined
Dec 15, 2014
Messages
153
Reaction score
295
First Language
Russian
Primarily Uses
Actually it'll be less work. Let me explain:

1 character. This character can "transform" into other forms, gainong new set of abilities.... BUT additionaly this character can learn abilities from different set and make current form learn it... Well, let's say it's something like persona 3/4, where you have personas with their set of skills and skill cards you can use on those personas for them to gain new skills
 

Latest Threads

Latest Profile Posts

..of the major old school series that began in the 80s- early 90s, I still haven't beaten 'a' Zelda game. Mario 64 was the first Mario I've beaten. I don't know if I should give that honor to Link to the Past or A Link Between Worlds(I currently own both). Well technically I've haven't beaten a Sonic either (Game Genie doesn't count =P).
headshot_headinfo.jpg
Time to add the "headshot" concept into the game so that people may actually aim at the heads when shooting zombies and get massive damage and armor-pen bonus as rewards. :kaojoy:
(The red area is just for visually debug purposes right now. But, it's possible that I will add something that displays the weak spots of enemies in the future.)
Worked on a cutscene skip domino effect using Maker Systems' script as the basis. Basically if I have a batch of cutscenes in a row on different maps, now when you skip one cutscene it will skip the entire set. No more spamming X to skip a scene every new map.

Oh and it will work regardless of where you do it from in the set. Convenient!
seems absolutely WILD to me now all the hundreds of hours of work I used to do in 2k(3) over a decade ago with a resolution of 320x240. that seems so insanely TINY now, seemed so normal at the time!
Playing Aroma Indosiar theme song.
Aroma is an Indonesian TV show about cooking. :)

Forum statistics

Threads
115,381
Messages
1,089,405
Members
150,089
Latest member
Vargass02
Top