screeps 的动作顺序
Sequence of actions for screeps
我在网上查找有关我在当前回合可以用我的 creep 做什么的信息,但我发现了相互矛盾的说法。
http://screeps.wikia.com/wiki/Creep -- 从这里的评论来看,我们可以同时建造和移动,或者移动然后转移能量
http://www.reddit.com/r/screeps/comments/2pqhsz/gaps_in_the_documentation/ -- 这个消息来源说我只能用动画做一个动作,也就是说,我不能在同一回合移动和建造。据我所知,它指出我需要先做动画动作,然后是任何其他动作。
哪个是对的?
我在这里提出的问题:
假设我离敌人 4 格远,我可以移动进去同时射击吗
转?
假设我距离敌人 3 格远,我可以在同一回合射击和移动吗?
根据上面的问题,哪个小兵先移动,我的还是敌人?我会遇到这样的情况,在我还击之前,小兵开枪并离开了我的射程吗?还是同时执行所有操作?
在机器人移动和 rangeAttack 之间可以发生任何动作吗?
我有 5 个带 CARRY 的小兵排成一行。我可以在同一回合中将能量从第一个转移到第二个,从第二个转移到第三个,...,从四个转移到五个吗?
当我在一个回合中命令传输两次能量时会发生什么?这两个调用中的哪一个有效?
我可以和attack/build同时移动吗?
我可以在同一回合进行范围攻击和攻击吗?
实际上,这些问题是关于游戏玩法,而不是编码,所以你最好在 Arqade(另一个 StackExchange 项目)而不是 Whosebug 上提问。
Given I'm 4 tiles far from enemy, can I move in and shoot at the same turn?
没有
Given I'm 3 tiles far from enemy, can I shoot and move out at the same turn?
是的。
Given questions above, which creep moves first, mine, or enemy?
他们同时移动。
Can I have a situation, when creep shot and move out of my range before I can shoot back?
没有。如果遇到这种情况 - 这是一个错误,请报告。
Or all actions are performed at the same time?
完全正确。
Can any action happen between robot move and rangeAttack?
在专用移动游戏步骤中,移动是在所有其他操作之后执行的。
I have 5 creeps with CARRY in a line. Can I transferEnergy from first to second, from second to third, ..., from four to five in a same turn?
不行,你必须在 5 回合内完成。
What happens when I order to transferEnergy twice in a turn? Which one of this two invocations work?
最后一张。与所有其他操作相同。
Can I move and attack/build at the same turn?
是的。
Can I rangeAttack and attack at the same turn?
是的。但是你不能同时治疗和远程治疗。
我在网上查找有关我在当前回合可以用我的 creep 做什么的信息,但我发现了相互矛盾的说法。
http://screeps.wikia.com/wiki/Creep -- 从这里的评论来看,我们可以同时建造和移动,或者移动然后转移能量
http://www.reddit.com/r/screeps/comments/2pqhsz/gaps_in_the_documentation/ -- 这个消息来源说我只能用动画做一个动作,也就是说,我不能在同一回合移动和建造。据我所知,它指出我需要先做动画动作,然后是任何其他动作。
哪个是对的?
我在这里提出的问题:
假设我离敌人 4 格远,我可以移动进去同时射击吗 转?
假设我距离敌人 3 格远,我可以在同一回合射击和移动吗?
根据上面的问题,哪个小兵先移动,我的还是敌人?我会遇到这样的情况,在我还击之前,小兵开枪并离开了我的射程吗?还是同时执行所有操作?
在机器人移动和 rangeAttack 之间可以发生任何动作吗?
我有 5 个带 CARRY 的小兵排成一行。我可以在同一回合中将能量从第一个转移到第二个,从第二个转移到第三个,...,从四个转移到五个吗?
当我在一个回合中命令传输两次能量时会发生什么?这两个调用中的哪一个有效?
我可以和attack/build同时移动吗?
我可以在同一回合进行范围攻击和攻击吗?
实际上,这些问题是关于游戏玩法,而不是编码,所以你最好在 Arqade(另一个 StackExchange 项目)而不是 Whosebug 上提问。
Given I'm 4 tiles far from enemy, can I move in and shoot at the same turn?
没有
Given I'm 3 tiles far from enemy, can I shoot and move out at the same turn?
是的。
Given questions above, which creep moves first, mine, or enemy?
他们同时移动。
Can I have a situation, when creep shot and move out of my range before I can shoot back?
没有。如果遇到这种情况 - 这是一个错误,请报告。
Or all actions are performed at the same time?
完全正确。
Can any action happen between robot move and rangeAttack?
在专用移动游戏步骤中,移动是在所有其他操作之后执行的。
I have 5 creeps with CARRY in a line. Can I transferEnergy from first to second, from second to third, ..., from four to five in a same turn?
不行,你必须在 5 回合内完成。
What happens when I order to transferEnergy twice in a turn? Which one of this two invocations work?
最后一张。与所有其他操作相同。
Can I move and attack/build at the same turn?
是的。
Can I rangeAttack and attack at the same turn?
是的。但是你不能同时治疗和远程治疗。