メインコンテンツへスキップ

検索

Calling Variables in Message box

コメント

4件のコメント

  • Kakudo Yuie コミュニティモデレーター

    The control characters are listed in the following source code
    Assets\RPGMaker\Codebase\Runtime\Common\ControlCharacter\ControlCharacter.cs
    * Japanese only. And I could not find this in any manual or documentation anywhere!
     ⇒Sorry. This is documented in below Beginner's Tutorial.
            https://rpgmakerunite.com/en/learn/006_eng.html#01c

    /// 制御文字:
    /// 
    /// 【置換系】
    /// 
    /// \V[n]   変数n番の値に置き換えられます。
    /// \N[n]   アクターn番の名前に置き換えられます。
    /// \P[n]   パーティメンバーn番に置き換えられます。
    /// \I[n]   アイコンn番を描画します。
    /// \G      通貨単位に置き換えられます。
    /// \\      バックスラッシュに置き換えられます。
    /// 
    /// 【設定系】
    /// 
    /// \C[n]   以降の文字をn番の色で表示します。
    /// \PX[n]  ウィンドウの左上を原点にX座標を設定します。
    /// \PY[n]  ウィンドウの左上を原点にY座標を設定します。
    /// \FS[n]  文字サイズをnに変更します。
    /// \{      文字サイズを1段階大きくします。
    /// \}      文字サイズを1段階小さくします。
    /// 
    /// 【動作系】
    /// 
    /// \!      ボタン入力を待ちます。
    /// \.      1/4秒待ちます。
    /// \|      1秒待ちます。
    /// \>      同じ行の残りの文字を一瞬で表示します。
    /// \<      文字を一瞬で表示する効果を取り消します。
    /// \^      文章表示後の入力待ちをしません。
    ///
    /// \f      改ページをします (バトルの場合のみ)。Uniteで追加されたもの?
    /// 
    /// 【他】
    /// 
    /// \$      所持金のウィンドウを開きます。

    In english, 

    /// Control characters:
    /// 
    /// 【replace】
    /// 
    /// \V[n]   Replaced by the value of variable number n.
    /// \N[n]   Replaced by the name of actor n-th.
    /// \P[n]   Replaced by party member number n.
    /// \I[n]   Draw icon number n.
    /// \G      Replaced by the currency unit.
    /// \\      Replaced by a backslash.
    /// 
    /// 【config】
    /// 
    /// \C[n]   The following characters are displayed in color n.
    /// \PX[n]  Sets the X coordinate with the origin at the upper left corner of the window.
    /// \PY[n]  Sets the Y coordinate with the origin at the upper left corner of the window.
    /// \FS[n]  Change the font size to n.
    /// \{      Increase the font size by one step.
    /// \}      Decrease the font size by one step.
    /// 
    /// 【timing】
    /// 
    /// \!      Wait for button input.
    /// \.      Wait 1/4 second.
    /// \|      Wait 1 second.
    /// \>      The remaining characters of the same line are displayed in an instant.
    /// \<      Cancel the effect of displaying text in an instant.
    /// \^      Does not wait for input after displaying a sentence.
    ///
    /// \f      Page breaks (only for battles). added in Unite?
    /// 
    /// 【others】
    /// 
    /// \$      Opens a window of possessions.

    1
  • ThatGuy BT

    Thank you so much! I haven't messed with RPG Maker in a while so it slipped my mind that it would be case sensitive..

    I was using a lower case \v[n]. I changed it to uppercase \V[n] and now it works perfectly. Thank you!

    0
  • Baz コミュニティモデレーター

    Thank you Kakudo Yuie!

    0
  • GGG-Support コミュニティマネージャー

    Thank you!

    To supplement, the list of Control Characters can be found here;

    https://rpgmakerunite.com/en/learn/006_eng.html#01c

    0

サインインしてコメントを残してください。