digger.sendto console command works with all locations
Also cleaned up an unused field in setup_person_tunnel_to_position
Which locations does it currently not work with?
Which locations does it currently not work with?
It only supported players, and then took took a random spot in the dungeon.
And it can now take Action Points and Hero Gates?
And it can now take Action Points and Hero Gates?
yes, and CTA and COMBAT
I tried sending Imps to dig to the Action Point in Eversmile, but they kept getting stuck.
I tried sending Imps to dig to the Action Point in Eversmile, but they kept getting stuck.
mmm, yes, I stopped testing when the units started attempting to tunnel, but it looks like it indeed goes wrong more now. I will test more to confirm and hopefully fix.
@AdamPlenty it should be fixed now
Retested Eversmile, and the Imp only got stuck once he reached the destination. Is this supposed to happen?
Retested Eversmile, and the Imp only got stuck once he reached the destination. Is this supposed to happen?
Sorry, I forgot to update the PR too. Dofi tested it more and it simply goes wrong quite a lot still. I investigated more. Apparently tunnelers get stuck a lot too, but then they are 'tunnelers doing nothing' and they get back to tunneling. When a tunneling imp gets stuck and gets set to a 'tunneler doing nothing'-state, he will hang in this state forever. Not ideal.