Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5169
Auto-translated
It probably won't work because user-created heroes don't have their own unique ID. And the developers have a reserved list of these IDs somewhere. Simply put, in AdvMapHeroShared, set IsHideInEditor = false. Then, in Map Properties => Players => Player Number => ReserveHeroList, add your scripted heroes. It's best to do this for computer-controlled heroes. Then, by setting a trigger (for example, touching a tavern), use:
DeployReserveHero(...);
SetObjectOwner(..., PLAYER_1);
Note: this is necessary if you have reserved the hero for the computer.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________