About setting a variable to character MP

CWells

Storyteller/Artist
Veteran
Joined
Apr 22, 2013
Messages
731
Reaction score
40
First Language
English
Primarily Uses
If I set a variable to Actor MP, will it stay on point during battle or is it something that needs to be readjusted?

If I enter a map with a parallel process with set MinotaurMP-Actor(minotaur)MP and leave the map that has the paraprocess, and enter a battle. If the Minotaur uses up MP will the variable MinotaurMP stay on point?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
if its a map event, it will only run while ur on that map... so it would be better to use a parallel process, common event for that...
 

Zetu

Level 99 Stabomancer
Veteran
Joined
Apr 28, 2012
Messages
247
Reaction score
99
First Language
English
Primarily Uses
N/A
A Map's Parallel process does not continue in battle, so you will need to readjust within Scene_Battle.
 

CWells

Storyteller/Artist
Veteran
Joined
Apr 22, 2013
Messages
731
Reaction score
40
First Language
English
Primarily Uses
A Map's Parallel process does not continue in battle, so you will need to readjust within Scene_Battle.
So I can just fix the variables I created for character MP to work by scripting in Scene_Battles?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
The control variable command will only place the current value into the variable, you need to update that if you want to check it.

However, I would not use a parallel process for this if that can be avoided, because it simply creates too much lag to have those processes for simple things.

Instead, just place another control variable setting the current data at every position where you check that value. That will also prevent problems with battlescreens
 

CWells

Storyteller/Artist
Veteran
Joined
Apr 22, 2013
Messages
731
Reaction score
40
First Language
English
Primarily Uses
Yeah, I just set up all the variables for a troop event using condition check at every turn and set to start up once per turn. It's working great. And no lag that i notice, even with 35 variables set (all the necessary characters).

I'm just using a troop event. Can copy the list to every fight. No problem.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You could just set them in a common event, and have your troop event do a Call Common Event, rather than having to copy/paste the whole 35 variables into each troop :)
 

CWells

Storyteller/Artist
Veteran
Joined
Apr 22, 2013
Messages
731
Reaction score
40
First Language
English
Primarily Uses
You could just set them in a common event, and have your troop event do a Call Common Event, rather than having to copy/paste the whole 35 variables into each troop :)
....I just remembered. I can check the variables in the common event as well. Right, I did the check with the coditiional branches for if mp variable is whatever but never even considered that I could set the variable just before the conditional. Totally overlooked that. Wow...

I'll go and set all that up X_X
 

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,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top