Error Trying to rename character

Midnight Kitty

Midnight
Veteran
Joined
Jun 18, 2013
Messages
129
Reaction score
14
First Language
English
Primarily Uses
RMMV
Whenever I use
◆Change Name:#0004, Dave
The actor in speech and most other ways will be called Dave. When added to the party however the namespace for him is always left blank.
I tried this to fix it with this script but got the same problem.

Code:
  ◆Script:var actorName = "Mikey";
  :      :$gameActors.actor(4).setName(actorName);
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,352
Reaction score
7,666
First Language
German
Primarily Uses
RMMV
don't use script - use the event functions correctly.

If you add a member, you have the option to "initialize" the actor. That means resetting all values to database start.
If you have the actor without a name in your database, rename it before adding and then reinitializing, you'll delete the new name.
It is better to add first with init (you'll need that for the other values, then rename.

and it is much better to give all actors a default name even if they're intended to be renamed, because the events use the database name in displays - if you have several unnamed actors you'll not be able to read the events in the databse correctly because you'll never know which of the unnamed actors is selected at the moment.
 

Midnight Kitty

Midnight
Veteran
Joined
Jun 18, 2013
Messages
129
Reaction score
14
First Language
English
Primarily Uses
RMMV
oh that makes sense then, I would have to redo the check when they are initialised.
I would have used event functions if I wasn't getting that error. Rename was the only value that changed for that one actor but I will have the default in place.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,845
Messages
1,016,961
Members
137,561
Latest member
JaCrispy85
Top