I'm having trouble issuing commands that deal damage to entities while using the malmoenv package. Specifically, if I use the "attack" command, my agent will be able to break the block in front of it. But, the agent cannot deal damage to a mob standing right in front of it - I see the "sword cooldown" animation, but the entity is not damaged/does not take damage. However, if I manually left-click on the window, I'm able to deal damage.
My XML for the zombie:
<DrawEntity type="Zombie" x="0" y="4" z="0"/>
My XML for the agent's commands (I'm only testing attack and turn at the moment):
<DiscreteMovementCommands>
<ModifierList type="allow-list">
<command>attack</command>
<command>turn</command>
</ModifierList>
</DiscreteMovementCommands>
Is this a setup issue, or is this a known issue with the "attack" ? If it is a setup issue, could you point me in the direction to fix this? Thank you!
I'm having trouble issuing commands that deal damage to entities while using the malmoenv package. Specifically, if I use the "attack" command, my agent will be able to break the block in front of it. But, the agent cannot deal damage to a mob standing right in front of it - I see the "sword cooldown" animation, but the entity is not damaged/does not take damage. However, if I manually left-click on the window, I'm able to deal damage.
My XML for the zombie:
My XML for the agent's commands (I'm only testing attack and turn at the moment):
Is this a setup issue, or is this a known issue with the "attack" ? If it is a setup issue, could you point me in the direction to fix this? Thank you!