Установить Steam
войти
|
язык
简体中文 (упрощенный китайский)
繁體中文 (традиционный китайский)
日本語 (японский)
한국어 (корейский)
ไทย (тайский)
Български (болгарский)
Čeština (чешский)
Dansk (датский)
Deutsch (немецкий)
English (английский)
Español - España (испанский — Испания)
Español - Latinoamérica (испанский — Латинская Америка)
Ελληνικά (греческий)
Français (французский)
Italiano (итальянский)
Bahasa Indonesia (индонезийский)
Magyar (венгерский)
Nederlands (нидерландский)
Norsk (норвежский)
Polski (польский)
Português (португальский — Португалия)
Português-Brasil (португальский — Бразилия)
Română (румынский)
Suomi (финский)
Svenska (шведский)
Türkçe (турецкий)
Tiếng Việt (вьетнамский)
Українська (украинский)
Сообщить о проблеме с переводом
Thank you for your kind explanation. I fixed it as you told me, can you check if the problem has been solved?
tries to get his current army with the line "local force = faction:faction_leader():military_force()"
If noctilus dosnt exist when the script runs then it fails.
the change i made checks if he dosnt exist or if he dosnt have an army and then just dosnt run the rest of the script instead of failing.
all you have to do is to replace the line "local force = faction:faction_leader():military_force()"
in the "script/campaign/mod/bad_legend_agent12_il_potente_granchio.lua" with this part:
"local leader = faction and faction:faction_leader()
if not leader or leader:is_null_interface() then
return -- Exit early if leader doesn't exist
end
local force = leader:military_force()
if not force or force:is_null_interface() then
return -- Exit early if force doesn't exist
end"
Sorry I don't know scripts very well so please explain more about what I should do. And even now, there should be no problem with gameplay itself. And where do you get the error message?
Maybe this will fix the error from occuring:
local faction = cm:get_faction("wh2_dlc11_cst_noctilus")
local leader = faction and faction:faction_leader()
if not leader or leader:is_null_interface() then
return -- Exit early if leader doesn't exist
end
local force = leader:military_force()
if not force or force:is_null_interface() then
return -- Exit early if force doesn't exist
end
That I didn't notice means a very minor update that you don't have to know. I made some modifications to the modeling of one of the characters.
Maybe mod conflict would have been resolved. But please ask the mod creator to delete the part related to 'merovech'.
@bstar
Maybe it's fixed. It won't interfere with gameplay anyway.
After the latest update, I'm getting a script error message for:
"[ string/"script/campaign/mod/bad_legend_agent12_il_potente_granchio.lua/" ]