Is there a way to access a ghost constant combinator's settings without reviving it?
I can see the signals when I mouse over the ghost, but I don't know how to read them in lua.
Ghost constant combinator
-
- Inserter
- Posts: 26
- Joined: Tue Jun 26, 2018 11:01 am
- Contact:
Re: Ghost constant combinator
you can get the signals the same way you do with a normal combinator:
ghost_control = ghost_entity.get_or_create_control_behavior()
signal = ghost_control.get_signal(number)
ghost_control = ghost_entity.get_or_create_control_behavior()
signal = ghost_control.get_signal(number)