Steam'i Yükleyin
giriş
|
dil
简体中文 (Basitleştirilmiş Çince)
繁體中文 (Geleneksel Çince)
日本語 (Japonca)
한국어 (Korece)
ไทย (Tayca)
Български (Bulgarca)
Čeština (Çekçe)
Dansk (Danca)
Deutsch (Almanca)
English (İngilizce)
Español - España (İspanyolca - İspanya)
Español - Latinoamérica (İspanyolca - Latin Amerika)
Ελληνικά (Yunanca)
Français (Fransızca)
Italiano (İtalyanca)
Bahasa Indonesia (Endonezce)
Magyar (Macarca)
Nederlands (Hollandaca)
Norsk (Norveççe)
Polski (Lehçe)
Português (Portekizce - Portekiz)
Português - Brasil (Portekizce - Brezilya)
Română (Rumence)
Русский (Rusça)
Suomi (Fince)
Svenska (İsveççe)
Tiếng Việt (Vietnamca)
Українська (Ukraynaca)
Bir çeviri sorunu bildirin
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/" ]