Skip to content

Instantly share code, notes, and snippets.

@triacontane
Created July 3, 2018 18:51
Show Gist options
  • Select an option

  • Save triacontane/7e3c98e11bb11191ab76b5031a456387 to your computer and use it in GitHub Desktop.

Select an option

Save triacontane/7e3c98e11bb11191ab76b5031a456387 to your computer and use it in GitHub Desktop.
イベントの自律移動の動的変更
// 自律移動を「ランダム」に変更
$gameMap.event(n)._moveType=1;
// 自律移動を「近づく」に変更(0:固定 3:カスタム)
$gameMap.event(n)._moveType=2;
@triacontane
Copy link
Author

イベントの「自律移動」のタイプをスクリプトで動的に変更します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment