Cause a player to open an entity

User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 716
Joined: Sun Nov 23, 2014 11:57 am
Contact:

Cause a player to open an entity

Post by Earendel »

Is there a way to cause a player to open an entity? I would have thought there would be but I can't see anything.

I'm looking for something like:

player.opened = open_this_entity -- won't work, read only

or

player.open(open_this_entity) -- does not exist
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 716
Joined: Sun Nov 23, 2014 11:57 am
Contact:

Re: Cause a player to open an entity

Post by Earendel »

Is it even possible?

If there is no way to do this currently, then I could probably try making a custom workaround, but the entity I need to open is a constant combinator. Recreating that interface seems like it would quickly get too complicated because of the select-a-signal interface should have all of the tabs and sorting of the base interface. That's too much work for what is by comparison a minor feature in my mod, but perhaps someone has already made a custom solution for the signal selection situation?
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: Cause a player to open an entity

Post by aubergine18 »

As far as I can tell there's no way to do it - to either open or close an entity.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 716
Joined: Sun Nov 23, 2014 11:57 am
Contact:

Re: Cause a player to open an entity

Post by Earendel »

That's too bad.

In that case can someone move this to modding interface requests?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14913
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Cause a player to open an entity

Post by Rseding91 »

I'll make opened read/write for 0.15.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 716
Joined: Sun Nov 23, 2014 11:57 am
Contact:

Re: Cause a player to open an entity

Post by Earendel »

That's great thanks.
Post Reply

Return to “Implemented mod requests”