Slimsy Platypus

Veteran
Veteran
Joined
May 17, 2016
Messages
117
Reaction score
131
Primarily Uses
Hey guys. sorry in advance if this is a dumb question (I am in no way shape or form JavaScript competent), but I'm trying to change the name of an enemy battler to a unique name at the start of battle. For example, you might fight many bats, but I want each individual bat in a selected troop to have a unique name, such as "Jim", "Bob" or "Joe" (as an example).

So I thought I might be able to do it with the script command below, but I'm not sure if I can set it equal to a string, and my first attempts at assuming syntax did not work. Any assistance would be greatly appreciated.

For a specific question to answer, in a particular troop, I'd like to change the first enemy in the troop's name to "Bob". Is this capable of being done with a script call similar to below?

$gameTroop.members()[0].name =
 

Latest Threads

Latest Profile Posts


I've started working on rpg maker again, and I can see a lot of improvement from when I was 13. I still have a long way to go, but I'm proud that I've gotten this far.
Animated Title screen is by SharkerrBlue(SB)
I am using the Nightmare Land pack.
I just can't walk to the store for lunch without walking past people smoking. It not only smells bad, it's probably poisoning me. I'm afraid I'll eventually have to be hospitalized. I can't take another path because there's too much traffic and drivers in the plaza are reckless sometimes. I almost got run over once, even after looking both ways.
RyanYe wrote on whtdragon's profile.
Your art works about Wyrvens and Dragons are sooooooooo cooooooooool~! I like them so bad
Can you create more? like Archangels, Devils, Titans, Cyclops!!
My valentine cutscene is now available on itch.io and you can get the "source code" as well, feel free to check it out!

The game page on itch can be found at:
A self-aware gamer, playing my game on video, and being honest about his feelings: :kaojoy:


It gets funny, there's heart, and his laptop is on fire as he plays. :kaoswt2:

Forum statistics

Threads
108,795
Messages
1,039,546
Members
141,245
Latest member
feedtalefour
Top