Location ping
Location ping
Is it possible to generate a location ping, similar to the one created when a player shift-clicks the map with chat open?
Re: Location ping
You can game.print() (or player.print(), force.print() as appropriate) with:
This basically does the same as the player pinging that location on the map, and the player can click on it in the chat log to open the map to that position.
Code: Select all
game.print("[gps=0,0]")
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Location ping
Feel free to add your voice to this request: viewtopic.php?f=28&t=76539
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.