2026-04-26T00:41:38 <.arrean> I don't know what you're cooking but smells interesting :D 2026-04-26T13:53:40 Don't we have a function to get the localisation settings? 2026-04-26T13:53:58 (en, fr, it...) 2026-04-26T14:06:35 Or i could use the yaml to get the language 🤔 2026-04-26T22:55:47 any idea why i cant make a spell with fortify casting? player->additem T_IngSpice_Pepper_01 10 player->additem T_IngFlor_Siyat_01 10 2026-04-26T22:55:47 https://cdn.discordapp.com/attachments/854806553310920714/1498095276223762482/Unofficial_Tamriel_Rebuilt_Spells_OpenMW_0.51.zip?ex=69efe973&is=69ee97f3&hm=9f0e75a2ce075b8ada01c7a218d4dc0810261102aee8cb380982d239bda1ee9d& 2026-04-26T22:56:10 even when i entirely copy the effect definition from another spell or even change the id 2026-04-26T22:56:22 insight and reflect damage work though 2026-04-26T23:48:38 lua ocal effectId = core.magic.EFFECT_TYPE.SummonBonelord local mgef = core.magic.effects.records[effectId] local record = types.Static.record(mgef.castingStatic.model) anim.addVfx(self, record, { vfxId = tostring(mgef.id), particleTextureOverride = mgef.particle, loop = false }) Am I doing something wrong here? I'm trying to put a summon effect onto an actor and it keeps throwing lua errors. The script is 2026-04-26T23:48:39 inside of a local script that attaches to npcs 2026-04-26T23:50:24 if record isnt nil you should do record.model 2026-04-26T23:51:16 I'll try that 2026-04-26T23:52:03 onInit failed: Lua error: [string "scripts/reanimationspell/spellzombie.lua"]:35: sol: no matching function call takes this number of arguments and the specified types 2026-04-26T23:52:12 Still getting the same error, god this is a headache 2026-04-26T23:56:53 <.arrean> likely means what you're passing as "model" is not a model 2026-04-26T23:57:07 <.arrean> this is in an local script right?