Player_GetPlot()
対応バージョン
Section titled “対応バージョン”Player_GetPlot();フラグの一部であるプロット値を取得します。
プロット値は、主にゲームの進行状況を表す数値として使用されます。
スクリプト内でやっていることは、old、zhazha版はFlag_Get()でプロット値を取得しているだけです。
Master版は、Storage_GetStaticGeneral()です。
サンプルコード
Section titled “サンプルコード”if(Player_GetPlot() <= 10){ txt="The road ahead is closed."; }else{ txt="The road has been reopened."; } Dialog_Add(txt); Dialog_Start();上記コードは、Plot値が10以下の場合はThe road ahead is closed.を表示し、そうでない場合はThe road has been reopened.を表示します。