Skip to content
#3012
Auto-translated
Help a newbie with a script. ``` function MakeHeroes() DeployReserveHero("Mardigo", 17, 161, 0); end; Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Start", "MakeHeroes"); function podkrep() MessageBox(You discovered a detachment of allied rebels who destroyed a border town.); MoveCamera(28, 148, 0, 50, 0, 0, 1, 1); end; Trigger(REGION_ENTER_AND_STOP_TRIGGER, "gorod", "podkrep"); ``` What should the script do? 1. When entering a specific location, it spawns Laslo. 2. When entering a specific location, it displays a message box stating that you found reinforcements, and the camera smoothly flies to the specified coordinates. The script throws an error in the game.

Statistics

Welcome our newest member: artem