RMMZ Question about input Elements and Status Menu Core Plugin

Xenotaff

Villager
Member
Joined
Mar 12, 2023
Messages
23
Reaction score
6
First Language
Spanish
Primarily Uses
RMMZ
Hello! I have been trying to make the traits to be editable by player at the beginning of the game.

Unfortunately I haven't been lucky on that. I have tried to use the $gameActors.actor(1).traitSet("Element") in order to get access to the variable, but i really dont know what else to put in order for the player to add what element wants to have.

Maybe this is a dumb question but i have tried using several commands and it never gets rid when running the test game.

I really need help on how to properly use commands so the player can "edit" traitsets for plugin
"Element"
"SubElement"
"Gender"
"Race"
"Nature"
"Alignment"
"Blessing"
"Curse"
"Zodiac"
"Variant"

Would appreciate any help!
 
Last edited:

NaosoX

Veteran
Veteran
Joined
Feb 28, 2013
Messages
647
Reaction score
387
First Language
English
Primarily Uses
RMMZ
Have you tried just using the in built plugin commands?
 

Xenotaff

Villager
Member
Joined
Mar 12, 2023
Messages
23
Reaction score
6
First Language
Spanish
Primarily Uses
RMMZ

Have you tried just using the in built plugin commands?

I did, but to be honest i really dont get the idea on how to use it properly.

This is the one i think should work
1680381907534.png

But if i put it nothing happens... i'm extremely new to this so its hard for me to know what to do...
 

Attachments

  • 1680381957798.png
    1680381957798.png
    66 KB · Views: 1
Last edited:

Xenotaff

Villager
Member
Joined
Mar 12, 2023
Messages
23
Reaction score
6
First Language
Spanish
Primarily Uses
RMMZ
Ok, this is what I have until now. I have the options for the player to select, then they should be on a variable, and then they should be read on the plugin command... That's my idea but I'm sure I'm doing something wrong...

1680477564999.png
1680477861759.png

Not sure if this is possible or not...
 

NaosoX

Veteran
Veteran
Joined
Feb 28, 2013
Messages
647
Reaction score
387
First Language
English
Primarily Uses
RMMZ
You just have to set the element to whatever you want, probably using branches.
If you don't want to use the in-built system you can also try something like:
Code:
$gameActors.actor(1)._traitSets.Element = "Fire"
or
Code:
$gameActors.actor(1)._traitSets.Element = $gameVariables.value(11);
(Based on the examples you are currently using)
 

DarthKai

Veteran
Veteran
Joined
Jan 11, 2023
Messages
47
Reaction score
7
First Language
English
Primarily Uses
Other
You just have to set the element to whatever you want, probably using branches.
If you don't want to use the in-built system you can also try something like:
Code:
$gameActors.actor(1)._traitSets.Element = "Fire"
or
Code:
$gameActors.actor(1)._traitSets.Element = $gameVariables.value(11);
(Based on the examples you are currently using)
Hi, I'm having a bit of a similar problem to Xenostaff up there. So I was wondering how I can change a Character's SubElement the moment they equip and unequip a weapon. I'm a noob at this as well, thus why I'm asking. Since I can make it work, but they have to leave and enter an area for it to work.
 

Attachments

  • Screenshot 2023-04-19 185721.png
    Screenshot 2023-04-19 185721.png
    164.7 KB · Views: 1
  • Screenshot 2023-04-19 190549.png
    Screenshot 2023-04-19 190549.png
    51.9 KB · Views: 0
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

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:

Found some expired fireworks in garbage today. I wonder if they still work.

Forum statistics

Threads
131,753
Messages
1,222,971
Members
173,512
Latest member
RayyanTheMalaysianGuy
Top