Created
July 7, 2019 03:50
-
-
Save triacontane/f4fea2223d30a67221944b7d62c218a0 to your computer and use it in GitHub Desktop.
コモンイベントのみをリフレッシュ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$gameMap._commonEvents.forEach(function(event) { | |
event.refresh(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
イベントのリフレッシュ(出現条件の再チェック)は、スイッチや変数を変更すると自動で実行されるが、マップイベントのリフレッシュが重い場合など、コモンイベントのみを明示的にリフレッシュしたい場合に実行するスクリプト。