control_behavior when making ghost with create_entity

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
justarandomgeek
Filter Inserter
Filter Inserter
Posts: 302
Joined: Fri Mar 18, 2016 4:34 pm
Contact:

control_behavior when making ghost with create_entity

Post by justarandomgeek »

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:

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"}}}}
I've also tried configuring the control behavior on the ghost after creating it, which also seems to do nothing.
Post Reply

Return to “Modding interface requests”