How to retreive information about entity contained inside ghost

Place to get help with not working mods / modding interface.
Post Reply
User avatar
Omnifarious
Filter Inserter
Filter Inserter
Posts: 267
Joined: Wed Jul 26, 2017 3:24 pm
Contact:

How to retreive information about entity contained inside ghost

Post by Omnifarious »

How do I discover what other power poles a ghost pole is connected to? It seems like it's very hard get to any but the most superficial information about the entity contained within a ghost.

User avatar
Omnifarious
Filter Inserter
Filter Inserter
Posts: 267
Joined: Wed Jul 26, 2017 3:24 pm
Contact:

Re: How to retreive information about entity contained inside ghost

Post by Omnifarious »

It looks like this might answer my question. And the answer would be "No", but here are a whole bunch of hacks to get around it. I'll see if there's a way that works for what I want to do. But if anybody else has any better ideas or knows differently, I'd really appreciate knowing.

Accessing "ghost" circuit connections

Edit: Unfortunately, I don't think it would. I could .revive() the ghost on placement, note which entities it wired up the copper cable to, then on-the-fly create a blueprint that included the appropriate circuit wires, remove the entity, and place the blueprint. That's an awful lot of work, and would probably look and sound very strange.

Post Reply

Return to “Modding help”