RMMZ Question about input Elements and Status Menu Core Plugin

Xenotaff

Regular
Regular
Joined
Mar 12, 2023
Messages
32
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

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

Xenotaff

Regular
Regular
Joined
Mar 12, 2023
Messages
32
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

Regular
Regular
Joined
Mar 12, 2023
Messages
32
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

Regular
Regular
Joined
Feb 28, 2013
Messages
696
Reaction score
431
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

Regular
Regular
Joined
Jan 11, 2023
Messages
76
Reaction score
14
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: 2
  • Screenshot 2023-04-19 190549.png
    Screenshot 2023-04-19 190549.png
    51.9 KB · Views: 1
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

Updated my game's development post with the first video of it in action!


'Milestone Get!' :p
Heh, heh. I've been experimenting with a naughty word detector Common Event and using scripts to check certain strings. I never thought I would see such language in computer code. I would post a screen shot, but it probably wouldn't be appropriate, even with a Spoiler. But it certainly makes me laugh and it works great.
Yknow what? Im seriously considering recruiting a manager to oversee my games development.
Because I cannot focus or complete these tasks by myself. I need someone to give me orders, without having them be my boss.

Forum statistics

Threads
136,806
Messages
1,270,211
Members
180,560
Latest member
Tvrangerflipper
Top