viewtopic.php?f=25&t=27578
If this is a feature/"not going to be fixed" deal, it would be nice if the documentation was updated then:
Code: Select all
revive() → uint
Revive a ghost. I.e. turn it from a ghost to a real entity.
Code: Select all
revive() → uint
Revive a ghost. I.e. turn it from a ghost to a real entity.
Code: Select all
/c script.on_event(defines.events.on_built_entity, function(event)
if event.created_entity.name == "entity-ghost" then
event.created_entity.revive()
end
end)