So atm I have to exclude the ability to copy rails from my blueprintsmod, because they are not copyied correctly. On the attached screenshot you can see that the rails are copied, but the texture is missing and the direction is messed up.
As a test I print out the created entity's direction in the onbuiltentity-event. This works fine/correct for everything except rails, they always return 8, it does not matter in which direction they are facing.
So my question is, is there a way or another keyword to get the correct rails-direction?
After some research I found that the problem was not in the entity-creation, but in the part where I save information of the entities that should be copied.how to get rails direction
Re: how to get rails direction
Uhm ... that is (simple) error on the side of factorio, sorry for that.
Will be fixed in next version.
Will be fixed in next version.
Re: how to get rails direction
Thanks for the answer. I can not await it