Page 1 of 1
Make player unable to place an entity
Posted: Wed Jan 22, 2020 1:52 pm
by Diamonde123
Please help, i want to make possible to place an entity only near another building (distibutor) . I made a script that destroys entity if it cant find the distributor nearby, but I want to do it properly, make player unable to place entity anywhere exept near ditributor
Re: Make player unable to place an entity
Posted: Wed Jan 22, 2020 2:09 pm
by eradicator
Impossible. The engine doesn't support prototype based placement restrictions.
And in two years nobody has reacted to my initial proposal ;(.
viewtopic.php?t=54014
Re: Make player unable to place an entity
Posted: Wed Jan 22, 2020 7:25 pm
by darkfrei
Hidden resource patch, you can build mining drills on the resource patches only. Pro: green rectangle about the right place.
Replace this placeholder with the entity that you need.