Auto-translated
HoMM5MapScriptsEditor
How do I make the enemy just stay in the castle, or how do I make it so that when you capture a castle, you've completed the map?
2. You can do this without scripts; configure the objectives in MapPropertiesTree. There is minimal information about this in the FAQ section of this forum.