add overwriteLighting a toggle option for addVfx

This commit is contained in:
Sebastian Fieber 2024-12-31 01:57:09 +00:00 committed by Alexei Kotov
parent 63b8e636f3
commit 5cb6da4b02
15 changed files with 63 additions and 38 deletions

View file

@ -193,6 +193,7 @@
-- * `mwMagicVfx` - Boolean that if true causes the textureOverride parameter to only affect nodes with the Nif::RC_NiTexturingProperty property set. (default: true).
-- * `particleTextureOverride` - Name of a particle texture that should override this effect's default texture. (default: "")
-- * `scale` - A number that scales the size of the vfx (Default: 1)
-- * `useAmbientLighting` - boolean, vfx get a white ambient light attached in Morrowind. If false don't attach this. (default: 1)
--
-- @usage -- Spawn a sanctuary effect near the player
-- local effect = core.magic.effects.records[core.magic.EFFECT_TYPE.Sanctuary]