Skip to content

Posts from Scripts

4.8 (8 ratings)
User Avatar
11 years ago
Auto-translated
Could you please provide the script? After entering a region, it would display a message, and the camera would focus on the specified region. Please.

Added 1 minute ago
I don't understand what I said.
User Avatar
11 years ago
Auto-translated
If you are following the manual exactly and it doesn't work, then you probably made a mistake in the text file name (it is important to observe even uppercase/lowercase letters) or the text encoding is incorrect.
In reply to Ment
User Avatar
11 years ago
Auto-translated
Ment
If you are following the manual exactly and it doesn't work, then you probably made a mistake in the text file name (it is important to observe even uppercase/lowercase letters) or the text encoding is incorrect.
Well, I checked letter by letter. And the path is correct.
And regarding the script: if the script itself were incorrect, then none of the scripts would work. (verified by me)

Added 3 minutes later
And by the way, in the script, when a hero arrives on a specific day, a message should appear (too), but the script itself works, but the message does not.
User Avatar
11 years ago
Auto-translated
I also checked it character by character, and the path is correct.
Then check the encoding. It should be different from the default encoding set in Windows Notepad.
User Avatar
11 years ago
Auto-translated
Which one? txt?
I took the file named "name" and renamed it.
User Avatar
11 years ago
Auto-translated
Which one? txt?
I took the file named "name" and renamed it.
I'm talking about the encoding inside the txt file... It can be ANSI or Unicode.
User Avatar
11 years ago
Auto-translated
and how do you encode it?
User Avatar
11 years ago
Auto-translated
) When saving, click "save as", and the encoding will be visible at the bottom.
User Avatar
11 years ago
Auto-translated
How do I attach a touch trigger to a caravan? The caravan is created in the game by hiring troops from external dwellings.
In reply to Dyrman
User Avatar
11 years ago
Auto-translated
Dyrman
How do I attach a touch trigger to a caravan? The caravan is created in the game by hiring troops from external dwellings.
There are at least two problems here:
1) Caravans belong to the untouchables caste.
2) It is impossible to find out the name. If the name even exists.
User Avatar
11 years ago
Auto-translated
Then, for the NHF mod, this is a problem ((
A disabled hero cannot attack an enemy caravan, but for some reason, it can interact with its own caravan))
Essentially, this can be used not just as a bug, but as a bug feature.

I tried to catch the caravan using scripts. It's elusive, the rascal!))

I'm thinking about how to solve the problem.

Added 10 minutes later
Is it possible to somehow catch the event when a hero interacts with anything?

Added 1 minute later
Then how do you rob caravans)))
User Avatar
11 years ago
Auto-translated
Should heroes be included during the player's turn?
In reply to RedHeavenHero
User Avatar
11 years ago
Auto-translated
RedHeavenHero
Should heroes be activated only during the player's turn?
Then the heroes' special abilities won't work.
User Avatar
11 years ago
Auto-translated
Are there any specializations that work on friendly heroes?
User Avatar
11 years ago
Auto-translated
Planned: an analogue of mentorship, a scholar, stat transfer, etc.
All of this will have to be disregarded.

Statistics

Welcome our newest member: recijeb