Skip to content

Posts from How can I make a hero independent of a town?

No ratings yet — be the first to rate!
User Avatar
Auto-translated
I want to make a demon hero stay in place and guard a passage. The editor complains that the player doesn't have a town. What script do I need?
Делаю кампанию "Последний Феникс"
User Avatar
Auto-translated
Not a script, but in
TreeMapProperties
PlayerSpecific
and click around there
You need to find DieInAWeekWithoutTown
and set it to False for the desired player
0=1
In this case

Added after 14 minutes
He will still complain, but it's not a big deal, as it's not a critical error.
Кампании
К оружию!
______________________________
Нужна помощь:
Делать ролики
Писать скрипты
In reply to RobinMobin
User Avatar
Auto-translated
RobinMobin
It's not a script, but in
TreeMapProperties
PlayerSpecific
and click around there.
You need to find DieInAWeekWithoutTown
and set it to False for the desired player.
0=1
In this case,

Added 14 minutes later
It will still complain, but it's not a big deal, as it's not a critical error.

Thank you!
Делаю кампанию "Последний Феникс"
User Avatar
Auto-translated
Good afternoon!
I have the same problem. For the mission, the hero shouldn't need a town (in my case, it's player two, i.e., blue). I found the "DieInAWeekWithoutTown" button and set it in section 1, not 0, which should affect only the blue player. But the problem is, when I enter the game, the task "capture any town within a week" hasn't disappeared. The game complains and doesn't want to let the hero be without a town. What should I do? :(
User Avatar
Auto-translated
0=Player 1
1=Player 2
...

Added 1 hour 15 minutes ago
There are values from 0 to 7.
Кампании
К оружию!
______________________________
Нужна помощь:
Делать ролики
Писать скрипты
In reply to RobinMobin
User Avatar
Auto-translated
RobinMobin
0=Player 1
1=Player 2
...

Added 1 hour 15 minutes ago
There are values from 0 to 7.

Thanks, but I understand that part. However, the problem still persists. Maybe I'm looking in the wrong settings?
Player Specific>>1>>Objectives>>Primary>>DieInWeekWithoutTowns (false)
User Avatar
Auto-translated
Need to also add it to Common DieInAWeek...
find it.
Кампании
К оружию!
______________________________
Нужна помощь:
Делать ролики
Писать скрипты
In reply to RobinMobin
User Avatar
Auto-translated
RobinMobin
We also need to find it in Common DieInAWeek...
It worked, thank you very much! :)
In reply to Miss Stark
User Avatar
Auto-translated
Miss Stark
It worked, thank you very much! :)
Where did you find PlayerSpecific? There isn't such a line in the tree, only simply players.
In reply to LetoX
User Avatar
Auto-translated
LetoX
here
Thank you very much.

Statistics

Welcome our newest member: Emil