Page 1 of 1

Set player.mining_state.position when hand-mining resources.

Posted: Tue Aug 29, 2017 11:47 pm
by blueblue
The player.mining_state.position value is currently {0, 0} when I'm mining iron ore with the player. The relevant events also dont return the ore entity or its position. Can you set this to the location of the iron ore patch instead please?

Re: Set player.mining_state.position when hand-mining resources.

Posted: Wed Aug 30, 2017 8:13 am
by Rseding91
Position is only used when mining terrain. If you want the entity being mined that's just the selected entity for the player.

Re: Set player.mining_state.position when hand-mining resources.

Posted: Wed Aug 30, 2017 8:51 am
by blueblue
Duh. Thank you!