Skip to content

Scripts for beginners.

#202
Auto-translated
Who can help? A friend got me hooked on Heroes 5 3.1, and I decided to create a huge map for 8 players. It's completely hand-drawn, and each race will have its own unique features and secrets. Right now, I'm working on one of the races and I've run into the need for scripts. I need a couple of basic scripts. I'll be able to modify them later. The main thing is to have examples, because I'm trying to figure it out myself, but it's not going very well. As a thank you, I'll post my map here later so that everyone can play it. Specifically, I'm interested in these scripts: 1. There's a prophet's hut where a quest is given. There's a condition for completing the quest. When the quest is completed, as a reward, obstacles should be removed in a specific location on the map at the specified coordinates, opening a passage. Or, the hero who completed the quest should be teleported to a specific point on the map. Moreover, this won't always be a player; it could also be an AI playing for that race. 2. I need a script that, when visiting the prophet's hut and completing the quest, transforms a specific town captured by the player who visited the prophet into a town of a different type. And in general, is it possible to do such things through the prophet's hut? Thank you in advance.