Hi all,
I'm looking for any idea how make entity placeable only near rails and how show rail-signal spots overlay when holding entity in hand.
It's not rail-signal type, it's electric-pole type. (I'm just trying to make railroad overhead line).
Should I use "filter-directions" flag? How work with it?
Thanks in advance.
How make entity placeable only near rails?
Re: How make entity placeable only near rails?
On place holder_entity replace it with pole_entity.
Re: How make entity placeable only near rails?
I'll check it soon, thank you!darkfrei wrote:On place holder_entity replace it with pole_entity.
Re: How make entity placeable only near rails?
so... what is a "holder-entity"? where is it?darkfrei wrote:On place holder_entity replace it with pole_entity.
Re: How make entity placeable only near rails?
tvardero wrote:so... what is a "holder-entity"? where is it?darkfrei wrote:On place holder_entity replace it with pole_entity.
Code: Select all
It's not rail-signal type, it's electric-pole type.
Re: How make entity placeable only near rails?
Now I understand this. Thank you!darkfrei wrote:tvardero wrote:so... what is a "holder-entity"? where is it?darkfrei wrote:On place holder_entity replace it with pole_entity.So, on_place rail-signal-with-custom-name get positions, destroy this rail-signal and place your electric-pole instead.Code: Select all
It's not rail-signal type, it's electric-pole type.