Code: Select all
bot = surface.create_entity{
name="compilatron",
position=player.position,
force=player.force,
player=player,
raise_built=false,
create_build_effect_smoke=true,
move_stuck_players=true,
--item=
}
What I want to happen is for compilatron to appear next to the crashed spaceship or emerge from it after the explosion sequence is done and the player has started the game by pressing "tab". Ideas?