#author("2023-04-13T10:59:43+00:00","default:admin","admin")
#author("2023-05-25T01:03:05+00:00","default:admin","admin")
*Variable Boxes (assignment and calculation), String Variables (assignment and text input) [#f69b33ac]
>

#contents

**Variable Box Assignment and Calculation [#mc171edc]
Assign a value to a numeric variable that has been specified in a specified manner.

#ref(Variable_Box_Assignment_and_Calculation.png)
#br

-''Variable Box Number''
Specify the variable box to be used.

--''Variable Box Type''
---''Value''
The value to be used can be specified between -9999999 and 99999999.

---''Text''
Used to specify a string variable.

---''Local Value''
Used to specify a local variable.

-''Array Variable''
Used to specify an array variable.

--''Pointer''
Specify a pointer to be specified from an integer or variable box.

-''Value''
Assign an integer between the specified values in the following manner

--''Overwrite by Value''
Assign a value.

--''Add a Random Number (0 to Value)''
Add a random number from the range of 0 to the specified number.

--''Add''
Add the value.

--''Subtract''
Subtract the value.

--''Multiply''
Multiply the value.

--''Divide''
Divide by the value.


**Advanced Variable Box Operation [#l3c6db7f]
Assign the specified parameter to a numeric variable in the specified manner.

#ref(Advanced_Variable_Box_Operation.png)
#br

-''To what?''
Specify the variable box to be used.

-''What?''
Specify the parameter to be assigned by selecting one of the following

--''Fixed Value''
An integer from 0 to 99999999 can be entered.

--''Random Number''
Any integer from -99999999 (minimum) to 99999999 (maximum) can be entered.

--''Variable Box''
Specify the variable box to be used.

--''Money in Possession''
Refer to the current money in possession.

--''Number of Items Possessed''
Refer to the number of the specified item in the possession.

--''Cast Status''
Refer to various statuses of the specified cast. The statuses that can be referenced are as follows
---''LV''
---''Current HP''
---''Current MP''
---''Maximum HP''
---''Maximum MP''
---''Current HP(%)''
---''Current MP(%)''
---''Attack Power''
---''Magical Power''
---''Defense Power''
---''Accuracy''
---''Evasion Rate''
---''Agility''
---''EXP''
---''State Changes''
---''Class Level''
---''Subclass Level''

--''nth in the Party''
The same settings as in "Cast Status" can be specified.

--''Event Status (For Cast-based Event)''
If the event is a cast-based event, it references the status of the event. The statuses that can be referenced are as follows:
---''Current HP''
---''Current MP''
---''Maximum HP''
---''Maximum MP''
---''Current HP(%)''
---''Current MP(%)''
---''Attack Power''
---''Magical Power''
---''Defense Power''
---''Accuracy''
---''Evasion Rate''
---''Agility''
---''EXP''
---''G''

--''Current Time''
Year, Month, Day, Day of the Week, Hour, Minute, Second

--''Play Time''
Hour, Minute, Second

--''Map X Size''

--''Map Z Size''

--''Operation Key''
Up, Down, Left, Right, Decision, Cancel, Dash, Camera: Rotate Up, Camera: Rotate Down, Camera: Rotate Left, Camera: Rotate Right, Camera: Zoom In, Camera: Zoom Out, Camera: Reset, Up (Repeat), Down (Repeat), Left (Repeat), Right (Repeat), Menu, Jump, Action 1, Action 2, Action 3

--''Camera Settings''
X Rotation, Y Rotation, Angle of View, Distance, X Coordinate, Y Coordinate (Elevation), Z Coordinate

--''Coordinate Information for This Event''
//X Coordinate, Y Coordinate (Elevation), Z Coordinate, Orientation, X Coordinate on the Screen, Y Coordinate on the Screen, X Rotation, Y Rotation, Z Rotation
X Coordinate, Y Coordinate (Elevation), Z Coordinate, X Coordinate on the Screen, Y Coordinate on the Screen, X Rotation, Y Rotation (Orientation), Z Rotation, Orientation/4 Direction (U: 0, D: 1, L: 2, R: 3)

--''Coordinate Information for Player''
//X Coordinate, Y Coordinate (Elevation), Z Coordinate, Orientation, X Coordinate on the //Screen, Y Coordinate on the Screen, X Rotation, Y Rotation, Z Rotation
The same settings as "Coordinate Information for This Event" can be specified.

--''Current Party Number''

--''Mouse Information''
Mouse Pointer X Coordinate, Mouse Pointer Y Coordinate, Left Click, Right Click, Center Click, Wheel Rotation

--''Elapsed Time from Previous Frame''

-''Do what?''
--''Assign''
Assign the parameter.
--''Addition''
Add the parameter.
--''Subtraction''
Subtract the parameter.
--''Multiplication''
Multiply the parameter.
--''Division''
Divide the parameter.
--''Assign Remainder of Division''
Assign the remainder of dividing the parameter.
--''Assign with Decimals Rounded Down''
Assign a parameter with the decimal point rounded down to the nearest integer.

**Assign to String Variable [#qd711866]
Assign a string to a string variable in the specified manner.

#ref(Assign_to_String_Variable.png)
#br

-''String Variable Number''
Specify the variable box to be used.

-''String''
Specify the string to be assigned.

-''String Assigning Methods''
--''Overwrite''
Overwrite and assign a string.
--''Add to Beginning''
Add the string to the beginning.
--''Add to End''
Add the string to the end.

**Input String Variable [#i1f7b5df]
Open a panel for entering strings. The string the player enter is assigned to a string variable.

#ref(Input_String_Variable.png)
#br

-''String Variable Number''
Specify the variable box to be used.

-''Text to be Displayed on the Input Screen''
Customize the text displayed on the input screen.

-''Max Number of Letters to be Entered''
Specify the maximum number of letters that can be entered between 0 and 65536.

-''Window Display Position''
Specify the window display position.

**Advanced String Variable Operation [#u7283f16]
Assign a specified parameter to a string variable in a specified manner.

#ref(Advanced_String_Variable_Operation.png)
#br

-''To what?''
Specify the variable box to be used.

-''What?''
Specify the content to be used.
--''String Variable Box''
Specify the variable box to be used.
--''Current Map Name''
Use the current map name.
--''Cast Status''
Specify the following for the specified cast member: cast name, class, subclass, weapon name, arm armor name, headgear name, body armor name, accessory name 1, accessory name 2。
--''nth Status in the Party''
The same settings as in "Cast Status" can be specified.
--''This Event's Name''
The name of the event itself can be obtained.
--''Name of Shooting Source''
The name of the event from which this event was generated can be retrieved.
The name of the event from which this event was generated can be obtained.

-''Do what?''
--''Overwrite''
Overwrite and assign a string.
--''Add to Beginning''
Add the string to the beginning.
--''Add to End''
Add the string to the end.

**String Replacement [#ide9f511]
Replaces string variable A in the specified variable box with string B.

#ref(String_Replacement.png)
#br

**Obtain Terrain Information [#p89c594a]
Obtain terrain information for the current position of the player or event or for the coordinates specified in the variable box.

#ref(Obtain _Terrain_Information.png)
#br

-''Specify by Player's Current Position''
Obtain terrain information for the player's current location.

-''Specify by Event's Current Position''
Obtain terrain information for the current location of the event.

-''Specify with Variable Boxes''
Use the value in the variable box as the coordinate to get the terrain information for that coordinate.

-''Terrain Resource Name''
Obtain the name of the resource used in the terrain as a string variable.

-''Terrain Elevation''
Obtain the elevation of the terrain in the variable box.


Front page   New Page list Search Recent changes   Help   RSS of recent changes