Merge branch 'castStatic' into 'master'

Fix Lua example

See merge request OpenMW/openmw!4910
This commit is contained in:
Evil Eye 2025-09-02 18:46:44 +00:00
commit 63eebac784

View File

@ -200,7 +200,7 @@
-- @usage -- Spawn a sanctuary effect near the player
-- local effect = core.magic.effects.records[core.magic.EFFECT_TYPE.Sanctuary]
-- local pos = self.position + util.vector3(0, 100, 0)
-- local model = types.Static.record(effect.castingStatic).model
-- local model = types.Static.records[effect.castStatic].model
-- core.sendGlobalEvent('SpawnVfx', {model = model, position = pos})
--