RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Setting party members access methods to variables

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 87
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.

**
Rep:
Level 86
CHAINSAW!!
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...

********
Shadow Knight
Rep:
Level 91
Ruin that brick wall!
Project of the Month winner for October 2008
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.

**
Rep:
Level 87
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.

**
Rep:
Level 85
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.

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
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.