control_behavior when making ghost with create_entity
Posted: Sat Jun 10, 2017 1:50 am
I can't seem to create ghosts of pre-configured arithmetic or decider combinators (presumably others too, i haven't tried yet).
I've tried both setting the control_behavior table as i would to create the normal entity, but it does not work:
I've also tried configuring the control behavior on the ghost after creating it, which also seems to do nothing.
I've tried both setting the control_behavior table as i would to create the normal entity, but it does not work:
Code: Select all
/c game.player.surface.create_entity{name="entity-ghost",inner_name="arithmetic-combinator",position={225.5,97.5},force=game.player.force,control_behavior={arithmetic_conditions={first_signal={name="signal-A",type="virtual"}}}}
vs
/c game.player.surface.create_entity{name="arithmetic-combinator",position={225.5,97.5},force=game.player.force,control_behavior={arithmetic_conditions={first_signal={name="signal-A",type="virtual"}}}}