Description
[2.3.3/70ef] on_building_demolished and on_destroy not triggering
Game Version
2.3.3
What version do you use?
Steam
What expansions do you have installed?
All of the above
Do you have mods enabled?
Yes
Please explain your issue is in as much detail as possible.
The on_action on_building_demolished does not trigger when a building is demolished. Tested using a simple planet_event that created a log entry which works when used with on_building_upgraded and on_building_replaced. Furthermore, on_destroy in a building file does not trigger when that building is demolished, but it does correctly trigger when the building is replaced. The only mod enabled was this test mod as described. This can be seen in-game as the Ministry of Culture building not being rebuildable after being demolished.
Steps to reproduce the issue.
Create a planet_event which is triggered by on_building_demolished, and demolish a building. Similarly, create an effect for on_destroy for a building, and demolish that building.
Upload Attachment
[2.3.3/70ef] on_building_demolished and on_destroy not triggering
Game Version
2.3.3
What version do you use?
Steam
What expansions do you have installed?
All of the above
Do you have mods enabled?
Yes
Please explain your issue is in as much detail as possible.
The on_action on_building_demolished does not trigger when a building is demolished. Tested using a simple planet_event that created a log entry which works when used with on_building_upgraded and on_building_replaced. Furthermore, on_destroy in a building file does not trigger when that building is demolished, but it does correctly trigger when the building is replaced. The only mod enabled was this test mod as described. This can be seen in-game as the Ministry of Culture building not being rebuildable after being demolished.
Steps to reproduce the issue.
Create a planet_event which is triggered by on_building_demolished, and demolish a building. Similarly, create an effect for on_destroy for a building, and demolish that building.
Upload Attachment
Last edited:
Upvote
0