Does orientation work on chart tags?

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
DutchTed
Burner Inserter
Burner Inserter
Posts: 11
Joined: Sat Jul 30, 2016 8:09 am
Contact:

Does orientation work on chart tags?

Post by DutchTed »

Has anybody been able to get a chart tag to draw in anything other than left-to-right direction? I can't get the orientation part to work for the life of me. I've tried expressing it in radians as well as whole numbers and decimals.

Attempting to create a chart tag at a 45 degree angle

Code: Select all

/c game.player.force.add_chart_tag(game.player.surface, { position = game.player.position, 
                                                          text = "This is a chart tag", 
                                                          orientation = (2 * math.pi * (45/360)) 
                                                        }
Documentation: https://lua-api.factorio.com/0.15.0/Lua ... rtTag.html

Any ideas guys or should I raise this in the bugs forum?

~DutchTed

Bilka
Factorio Staff
Factorio Staff
Posts: 3123
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Does orientation work on chart tags?

Post by Bilka »

This is a fun one :) I investigated, and not only does it read "laser_user" instead of "last_user" (just a typo), but it also doesn't care about the orientation when rendering the tag. I have moved this to bug reports.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Does orientation work on chart tags?

Post by Rseding91 »

Thanks for the report. I've fixed the typo. "orientation" is only used for vehicle chart tags to render the triangle at a specific orientation.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”