Tile placement event and Cliff detection on pasting blueprin

Place to get help with not working mods / modding interface.
Post Reply
Amuxix
Inserter
Inserter
Posts: 28
Joined: Sat Nov 26, 2016 2:21 pm
Contact:

Tile placement event and Cliff detection on pasting blueprin

Post by Amuxix »

I was messing with the control.lua on one of my saves to make blueprints be auto built (like place the entities instead of their ghosts), I could easily make the entities get revived as soon as I placed down the blueprint but I cannot seem to get the tiles to do the same. If someone knows which event(if it exists) I should be listening to to monitor when a tile ghost is placed so I can revive it I would appreciate it.

Another issue I ran into is that I want to delete cliff that overlap with stuff in my blueprint, but again I can't get seem to get to the cliffs that overlap with my blueprint via events, how should I go about this? I would like to keep the cliffs that do not interfere with the blueprint.

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

Re: Tile placement event and Cliff detection on pasting blueprin

Post by Rseding91 »

The player built entity event is used when the player places tiles from a blueprint.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Modding help”