how are scripts created?
I know they are used in SPQR. there is a script that creates units when you siege a city.
I want to create a script that destructs buildings when settlements are conquered...
how are scripts created?
I know they are used in SPQR. there is a script that creates units when you siege a city.
I want to create a script that destructs buildings when settlements are conquered...
You can't destroy buildings via scripts, all you can do is damage them.
Creator of:
Lands to Conquer Gold for Medieval II: Kingdoms
Terrae Expugnandae Gold Open Beta for RTW 1.5
Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
Awarded the Rank of Divus for oustanding work during my times as Administrator.
but you can use damage_building to set building health to 0% which is basically the same as having an assassin destroy it. so, now I just need to know how to make capturing a city the trigger...
Split from the Modding tools & Tutorials thread.
This works for me:
You need to repeat it for every settlement (The romans_senate condition is optional).Code:monitor_event GeneralCaptureSettlement not FactionType romans_senate and SettlementName Rome console_command set_building_health Rome core_building 0 end_monitor