Posts from Scripts
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
I created a function, but it doesn't seem to be working. What's the error?
function Dialog2(hero)
if GetObjectOwner(hero) == 2 then
StartAdvMapDialog(1);
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "DialogeNA2", nil)
end;
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "DialogeNA2", "Dialog2");
--
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
Console, playing as a player who should have a dialogue:
GiveTurnToNextPlayers before: C WWW N N N N
GiveTurnToNextPlayers after: W C W W N N N N
Al builds town building Graveyard in town Nergal-Sham at(30, 120, 0)
GiveTurnToNextPlayers before: W C W W N N N
GiveTurnToNextPlayers after: W C W N N N
Al builds town building Shield Hall town Svedlund (58, 23, 0)
Al hired hero Svea in town Svedlund for 2500 gold.
Hero Army: CREATURE_DEFENDER - 24, CREATURE_AXE_FIGHTER - 9,
GiveTurnToNextPlayers before: WW C W N N N N
GiveTurnToNextPlayers after: W W W C N N N N
Added 1 minute ago
Console, playing as any other player:
Added map: /Maps/SingleMissions/SS2/map.xab#xpointer(/AdvmapDesc)
Added map: /Maps/SingleMissions/SXL1/map.xdb#xpointer(/AdvMapDesc)
Added map: /Maps/SingieMissions/SecretMap/map.xdb#xpointer(/AdvMapDesc)
Custom game map list constructed in 0.0402976 seconds
Custom game map tags collected in 0.0414282 seconds
Added map: /Maps/RMG/1109-2359-8362-5763/map.xdb#xpointer(/AdvMapDesc)
Added map: /Maps/RMG/8941-6631-1275-6871/map.xdb#xpointer(/AdvMapDesc)
Custom game map list constructed in 0.0414764 seconds Total: custom game map list (63 maps) constructed in 0.128033 seconds
Random mode: generated seed = 1054432040
- as I said - nothing happens
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
I don't understand anything at all. I fixed the spaces, and then the console gave an error:
“[Script warning!] Value was NIL when getting global with name Trigge’ (Script) ERROR: attempt to call a nil value”
I added the letter “r” to “Trigge” in the script. The error disappeared, and there are no new messages in the console, but the dialogue is still displayed the same way.
Whenever I click "edit script" (in map properties), the map editor crashes. I've tried several times, and it still crashes. What should I do?
AddHeroCreature("Name", 1, 1)
for i=1, 179(Or however many creature types there are) do
if GetHeroCreatures("Hero Name", i)>=1 then
RemoveHeroCreatures(...)
end;
end;The hero will be left with 1 peasant.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
I don't understand what's going on at all. I fixed the spaces, and then the console gave an error:
"[Script warning!] Value was NIL when getting global with name Trigge' (Script) ERROR: attempt to call a nil value"
I added the letter "r" to "Trigge" in the script. The error disappeared, and nothing new appears in the console, but the dialogue is still displayed the same way.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
And what needs to be written after RemoveHeroCreatures?