Memorization?

Personigo de la Ĉefo

Resource Staff
Restaff
Joined
Dec 15, 2014
Messages
153
Reaction score
291
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,285
Reaction score
604
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.



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
31,365
Reaction score
7,675
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
5,624
Reaction score
5,104
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
291
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
31,365
Reaction score
7,675
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
291
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
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,061
Members
137,575
Latest member
akekaphol101
Top