我想在一段时间后触发一个动作,我一直在Google上如何做,但我没有运气,我想这只是我的游戏编码方式。 无论如何,我需要在代码a1触发后30分钟后触发代码a2。Java定时触发器
A1:
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);
你肯定* * [RUNESCAPE](http://www.rune-server.org/runescape-development/rs2-server/downloads/283605-project- insanity.html)是你的游戏吗? – oldrinb 2012-08-07 01:52:58
你想要计时器有多准确? – MadProgrammer 2012-08-07 01:58:30