Basic info about variables


【Goal】Let’s name variables such as common-self variables (excluding system variables) , auxiliary variables, spare variables, and character variables.

*There are 2 methods to this tutorial.


[1] Method 1

  • Click the “Map Selection” icon
  • Switch to a map where you can create an event
  • Create an event in an appropriate place
  • You do not need a specific image for the new event

If you do not know how to do this, refer to steps [1] to [5] of the tutorial: Events activated by confirm keys (Enter).


[2] Once the event is created, click the button “|Command Insert Window|“.

  1. When the “Event Command Insert” window appears, select “3 Set Variable” from the left column.
  2. There is a section labeled “Set Variable Name”, use the blank field to name the variable. (There is also a variable name field in “5 Set String”.)
  3. Specify the variable you want to name. (Refer to [Side Note] at the end of the tutorial.)
  4. Enter the name you want to add and then click “Assign Name” on the right.

The “Copy” button in “Set Variable Name” is a function that can copy the variable name specified in the first field (has a drop-down arrow) to the item in the field below it (empty space labeled: “Variable Name”).

For the “Size+1” button, the max limit of “n” in “V n” is the same as “n” in “V nj”. The max limit of “n” is increased when the max limit of “j” for the specified “n” is “S n”.

Now you know how to name variables. If you want to know method 2, keep reading. Other than that, this is the end.


[3] Method 2

First of all, this is a method of setting other than the “Common Self” (cSelf) variable.

Click the “System Database” icon .


[4] In the “Type” column, select “4: String Variables“.

  • Type 14: Normal Variables –> “V n”
  • Type 15-23: Spare Variables –> “V nj”
  • For more info, refer to [Side Note].

In the “Data” column, select one of the slots and type the desired variable name into the “ID” field.

Click “OK” or “Update” in the lower right corner of the window or press “CTRL + S” to save the new content. The changes have now been made.


[5] For the common-self (CSelf) variable

Open up the Common Event Editor. (If you are confused then refer to step 1 of the “Making a new common event” tutorial.)

Click “CSelf Var Usage List” at the top right corner of the window.


[6] Did a window with a lot of blank slots appear?

Each slot is where you can enter the name of a common-self (CSelf) variable.

If you change a slot, don’t forget to click “Done” at the bottom. If you cancel, the changes will not be saved.

* For the copy/paste function in the lower left:

  • “Copy All” –> copies the character strings of the common-self variables (CSelf00 to CSelf99) that are currently being edited.
  • “Paste All” –> overwrites (pastes) all of the content obtained by “Copy All”.

(Pasting only in an empty field can result in the slot being blank, but if there are any characters, that part will be left as it is, and the contents obtained by copying will be overwritten only in other blank fields.)


[7] Check whether the variable name you changed in steps 5 or 6 are properly shown.

If you select 3 variable operations and 5 string operations from the command list, and confirm that the changed common-self variable is named in the specified variable, you are done.


[Side Note]

For the setting “3 Set Variable”,

  • V n –> “Normal Variable” (ex: V1, V6, V8)
  • V nj –> “Spare Variable” (ex: V1-0, V3-2, V9-5)
  • CSelf n –> “Common-Self Variable” used for editing “V n”

For the setting “5 Set String”

  • S n –> “Character String Variable” (ex: S1, S4, S7)
  • Cself n –> “Common-Self Variable” used for editing “S n”
  • “n” and “j” represent numbers (values)

[Secret Note] Is this tutorial completed?

Yes, but the translations are really rough, so some steps may sound complicated. I hope to get better at understanding and translating the original guide, and when I do, I’ll return to fix this page.

Best regards,

Enko

Leave a comment