Reviving ghosts that overlap seems to have odd behavior
Posted: Sun Jan 29, 2017 10:20 pm
So, here's the situation. I have a blueprint with a normal entity and a special entity, located at the exact same position. The special entity is defined with
If I place the blueprint on an empty area, ghosts of both entities get placed. If I call special_entity_ghost.revive(), the special entity revives and the ghost of the normal one remains. Great.
If I place the blueprint over trees with shift-click, the trees intersecting the normal entity are marked for deconstruction, and both ghost entities are placed. If I call special_entity_ghost.revive(), the special entity revives, but the ghost of the normal one is destroyed. What's going on?
Code: Select all
collision_mask = {"not-colliding-with-itself"},
collision_box = {{0, 0}, {0, 0}},If I place the blueprint over trees with shift-click, the trees intersecting the normal entity are marked for deconstruction, and both ghost entities are placed. If I call special_entity_ghost.revive(), the special entity revives, but the ghost of the normal one is destroyed. What's going on?