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] ]
![[Image: attachment.php?aid=970]](http://save-point.org/attachment.php?aid=970)
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: 256)
  textoption.jpg (Size: 21.79 KB / Downloads: 256)
	
	
	
	
	
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: 256)
  textoption.jpg (Size: 21.79 KB / Downloads: 256)
	
 
 
 Name Detector? (More info in thread)
 Name Detector? (More info in thread)
 
 
![[Image: QrnbKlx.jpg]](https://i.imgur.com/QrnbKlx.jpg)
![[Image: sGz1ErF.png]](https://i.imgur.com/sGz1ErF.png)
![[Image: liM4ikn.png]](https://i.imgur.com/liM4ikn.png)
![[Image: fdzKgZA.png]](https://i.imgur.com/fdzKgZA.png)
![[Image: sj0H81z.png]](https://i.imgur.com/sj0H81z.png)
![[Image: QL7oRau.png]](https://i.imgur.com/QL7oRau.png)
![[Image: uSqjY09.png]](https://i.imgur.com/uSqjY09.png)
![[Image: GAA3qE9.png]](https://i.imgur.com/GAA3qE9.png)
![[Image: 2Hmnx1G.png]](https://i.imgur.com/2Hmnx1G.png)
![[Image: BwtNdKw.png%5B]](https://i.imgur.com/BwtNdKw.png%5B)