Cernunnos711

Villager
Member
Joined
Apr 14, 2022
Messages
13
Reaction score
3
First Language
english
Primarily Uses
RMMV
Hello,
I'm making a game where the nicknames of characters are used as titles (i.e. 'marquis' or 'Dragon Slayer') and I'm wondering if I can make conditional branches where the branch depends on the nickname, so if you have the nickname 'Marquis' you have access to a certain text but if you don't have it (similarly to a state).
I've looked around but couldn't find anything about it.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
6,155
Reaction score
6,317
First Language
English
Primarily Uses
RMMZ
Condition "script":

JavaScript:
$gameActors.actor(id of the actor you want to check).nickname() === "Marquis"
 

Cernunnos711

Villager
Member
Joined
Apr 14, 2022
Messages
13
Reaction score
3
First Language
english
Primarily Uses
RMMV
Condition "script":

JavaScript:
$gameActors.actor(id of the actor you want to check).nickname() === "Marquis"
Oh great thanks very much. Am not a coder so would have never been able to write that
 

Latest Threads

Latest Profile Posts

With this, I'm gonna have a good night sleep
Damn. We’ve gotten so close to 0 reports, 0 approvals a few times over the past couple weeks. Does it matter? No. Is it realistic. No? Do I rely on your reports and want everyone to keep posting. Yes. Do I 100% games? …sigh… Yes.

Ah yes, all three of my moods all at once.
Here's a tutorial I did on how I made my Leonardo A.I.-assisted artworks for my game's recent update. :rhappy:

Disclaimer: This is meant to be a band-aid solution for people like me who aren't good artists or don't have the financial means to hire an amazing artist. If you have the means, please buy commissions and support your fav artists.:yhappy:

Forum statistics

Threads
131,754
Messages
1,222,989
Members
173,515
Latest member
ThisGuyErik
Top