#author("2022-07-26T05:26:01+00:00","","") *Variable Boxes (assignment and calculation), String Variables (assignment and text input) [#f69b33ac] **Variable Box Assignment and Calculation [#mc171edc] Assign a value to a numeric variable that has been specified in a specified manner. -''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. -''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'' ---''nth in the Party'' --''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 --''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 --''Current Party Number'' --''Mouse Information'' Mouse Pointer X Coordinate, Mouse Pointer Y Coordinate, Left Click, Center Click, Right Click, Wheel Rotation -''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. **文字列変数への代入 [#mfec5fc1] 文字列変数に文字列を指定の方法で代入します。 -''文字列変数の番号'' 使用する変数ボックスを設定します。 -''文字列'' 代入する文字列を設定します。 -''文字列の代入方法'' --''上書き'' 文字列を上書きして代入します。 --''先頭に追加'' 文字列を先頭に追加します。 --''最後尾に追加'' 文字列を最後尾に追加します。 **文字列入力 [#sb107799] 文字列を入力するパネルを開きます。入力した文字列は、文字列変数に代入されます。 -''文字列変数の番号'' 使用する変数ボックスを設定します。 -''入力画面に表示する文字'' 入力画面に表示する文字をカスタマイズします。 -''入力可能な最大文字数'' 0~65536の間で入力可能な最大文字数を設定します。 -''ウィンドウ表示位置'' ウィンドウの表示位置を設定します。 **複雑な文字列変数の操作 [#b3836211] 文字列変数に指定のパラメータを指定の方法で代入します。 -''何に'' 使用する変数ボックスを設定します。 -''何を'' 使用する内容を設定します。 --''文字列変数の内容'' 使用する変数ボックスを設定します。 --''現在のマップ名'' 現在のマップ名を使用します。 --''キャストのステータス'' 指定したキャストのキャストの名前・職業・副業・武器名・腕防具名・頭防具名・体防具名・装飾品名1・装飾品名2のいずれかを設定します。 -''どうする'' --''上書き'' 文字列を上書きして代入します。 --''先頭に追加'' 文字列を先頭に追加します。 --''最後尾に追加'' 文字列を最後尾に追加します。 **文字列の置き換え [#y55c5809] 指定した変数ボックス内の文字列変数Aを文字列Bに置き換えます。 **地形の情報を取得 [#n35206fa] プレイヤーまたはイベントの現在位置か、変数ボックスで指定した座標の地形情報を取得します。 -''プレイヤーの現在位置で指定'' プレイヤーの現在位置の地形情報を取得します。 -''イベントの現在位置で指定'' イベントの現在位置の地形情報を取得します。 -''変数ボックスで指定'' 変数ボックス内の数値を座標として使用して、その座標の地形情報を取得します。 -''地形のリソース名'' 地形で使用されているリソース名を文字列変数として取得します。 -''地形の高さ'' 地形の高さを変数ボックスに取得します。