PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

50M Downloads

Request - Coordinate Piece that contains current location of drone

Landstryder opened this issue ยท 3 comments

commented

I would really love to have a puzzle piece that I could pull the current location of the drone from. Most likely it would be a coordinate piece that would fit onto a coordinate operator. This would open a ton of possibilities and make it much easier to program mining drones without having to put down a programer and change coordinate pieces every time the site moves.

It would be great too if there was a way to get the coordinate of an entity, making it possible to make a drone that would follow the player for example.

commented

There are three special (predefined) variables you can use in conjunction with coordinate operations:

  • $owner - coordinates of the drone's owner
  • $drone - the drone
  • $player=<playername> - a specific named player

It should be possible to do what need with that. Also, a old video of MineMaarten's explains the whole variable and coordinate system really well: https://www.youtube.com/watch?v=FIjEdD_Yj9Y

Let me know if that helps...

commented

@Landstryder you can assign dynamic variables to achieve what you are looking for already. You can see my response to #190

commented

oh awesome I did not realize there were those variables that helps a TON