Search found 1 match

by banzai2004
Mon Sep 14, 2020 2:12 pm
Forum: Not a bug
Topic: [1.0.0] ghost_unit_number not set on LuaEntity
Replies: 1
Views: 418

[1.0.0] ghost_unit_number not set on LuaEntity

I'm trying to create a mod that uses "on_built_entity" events.
When this event is raised for a placed ghost, I understood that "event.created_entity" should have "ghost_unit_number" to show the number of the final entity.

But "ghost_unit_number" does not seem to exist:
2020-09-14 16_02_48-control ...

Go to advanced search