How to draw line/arrow on surface/map?

Place to post guides, observations, things related to modding that are not mods themselves.
Post Reply
kevinma
Inserter
Inserter
Posts: 33
Joined: Tue Jan 08, 2019 4:07 pm
Contact:

How to draw line/arrow on surface/map?

Post by kevinma »

from data.raw, I found 'fake-selection-box-2x2' and 'orange-arrow-with-circle'. Is that right?

em... I want to visual vehicle speed and its movement path using line and arrow.


kevinma
Inserter
Inserter
Posts: 33
Joined: Tue Jan 08, 2019 4:07 pm
Contact:

Re: How to draw line/arrow on surface/map?

Post by kevinma »

darkfrei wrote:
Tue Mar 05, 2019 8:24 am
https://lua-api.factorio.com/latest/LuaRendering.html

Code: Select all

rendering.draw_line(table)
Thank you very much

Post Reply

Return to “Modding discussion”