10-13-2017, 03:15 AM
(This post was last modified: 10-13-2017, 03:19 AM by DerVVulfman.)
So you're looking for a means within Dubealex's AMS R4 to:
1) Change/Show the name of the lead party member within dialog instead of using the \n[ index ] system which selects the name of an actor in the database.
2) Change/show the name of the speaker identified in the name box, preferably by a similar means.
You have already understood the way that $game_party.actors[0] can identify the lead party member... with actors[1], [2] and [3] in tow as the additional members therein, so I won't dwell on that. Also, you can see how to use the Game_Variable class ($game_variables) to accept the name of an actor.
But now you wish to know how to substitute the name within the name box itself. The technique is almost the same. It's a matter of syntax, which you can see in the screenie I attached ... which also includes Kyonides's previously described solution for your first inquiry.
\name [ \v[id] ]
I doubled up and used two sets of $game_variables when only one was needed. I was thinking of setting the 2nd variable to have the reply of 'NO, I'm ****" instead.
textoption.jpg (Size: 21.79 KB / Downloads: 26)
1) Change/Show the name of the lead party member within dialog instead of using the \n[ index ] system which selects the name of an actor in the database.
2) Change/show the name of the speaker identified in the name box, preferably by a similar means.
You have already understood the way that $game_party.actors[0] can identify the lead party member... with actors[1], [2] and [3] in tow as the additional members therein, so I won't dwell on that. Also, you can see how to use the Game_Variable class ($game_variables) to accept the name of an actor.
But now you wish to know how to substitute the name within the name box itself. The technique is almost the same. It's a matter of syntax, which you can see in the screenie I attached ... which also includes Kyonides's previously described solution for your first inquiry.
\name [ \v[id] ]
I doubled up and used two sets of $game_variables when only one was needed. I was thinking of setting the 2nd variable to have the reply of 'NO, I'm ****" instead.
textoption.jpg (Size: 21.79 KB / Downloads: 26)