我想在一段时间后触发一个动作,我一直在谷歌搜索我会如何做到这一点,但我没有运气,我猜这只是我的游戏编码方式。无论如何,我需要在触发代码 a1 30 分钟后到达触发代码 a2 的位置。
一:
if (itemId == 608) {
c.sendMessage("The scroll has brought you to the Revenants.");
c.sendMessage("They are very ghastly, powerful, undead creatures.");
c.sendMessage("If you defeat them, you may receive astounding treasures.");
c.sendMessage("If you donate you may visit the Revenants anytime without a scroll.");
c.getPA().movePlayer(3668, 3497, 0);
c.gfx0(398);
c.getItems().deleteItem(608, 1);
}
a2:
c.getPA().movePlayer(x, y, 0);