Main Menu

Setting party members access methods to variables

Started by brutebasher9, May 04, 2008, 01:36:47 AM

0 Members and 1 Guest are viewing this topic.

brutebasher9

Would anyone know how to go about this? I can set the variable to the character's ID, but can't seem to find a way to access party members with it.

Relieves ideas through Rmvx, all the while training to become an enthusiastic pain of a technician in the system's back-side.

A13x

You could try switches but i dont know if that would work for whatever ur doin...
I have:
GM7
RPGXP
RPGVX
FPS Creator
Cube 2
3D Gamemaker (SHITBOX!)

WIP stats:
RPGVX:
none, just experimenting with random events...

Leventhan

Can I first know what you might want to use it for?
To remove or add party members according to variables or something similar?

Be kind, everyone you meet is fighting a hard battle.

brutebasher9

I wanted to use it to avoid checking all 13 characters eight times, since i'm using this along with Modern Algebra's Multiple Parties v1.0. There are two parties you can use, and the variables are set accordingly. The problems are that there I can't find a way to switch characters on variables, or use text commands to say their names on variables. For example, \n[1] would still be Ralph, but \n[\v[17]] would result in a script error. (variables 17 through 24 are being used for parties, 17 being Party1 Char1 and 21 being Party2 Char1.)

Relieves ideas through Rmvx, all the while training to become an enthusiastic pain of a technician in the system's back-side.

CruzCoda

A couple things to try (not sure if this will work).

Try just using \v[party member var] and see if that produces a name.

If not, the other option would be to manually set variables to the party member names. For instance:

Ralph Joins the party
Var 12 = String 'Ralph'

etc... for all party members. Then, when you need them, just pull up that specific variable for when you need to use their name. It's a bit more complicated, and requires a little extra work, but should solve the problem when dealing with message boxes and such.

modern algebra

Quote from: brutebasher9 on May 04, 2008, 07:56:49 PM
I wanted to use it to avoid checking all 13 characters eight times, since i'm using this along with Modern Algebra's Multiple Parties v1.0. There are two parties you can use, and the variables are set accordingly. The problems are that there I can't find a way to switch characters on variables, or use text commands to say their names on variables. For example, \n[1] would still be Ralph, but \n[\v[17]] would result in a script error. (variables 17 through 24 are being used for parties, 17 being Party1 Char1 and 21 being Party2 Char1.)

\n[\v[17]] should not produce an error unless the value of Variable 17 is out of range (a.k.a. less than 1 or greater than max). So, maybe if you can reproduce the error and show me the error message, I might be able to help diagnose the problem. Also, try discovering the value of \v[17] before trying to use \n[\v[17]], as maybe it's not being set properly.