how to get rails direction
Posted: Tue Jun 25, 2013 7:01 am
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.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?