[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Talk:SetMagicProjectileSpell
Jump to navigation
Jump to search
Possible example (need to run through the CS first)
This script will walk through each projectile until it finds a spell that has a Fire Damage effect (and increases the Fire effect).
ref rProj ref rSpell ref rTempSpell ... set rTempSpell to YourTempSpell ;Make a target spell in the CS set rProj to Apple set rProj to (GetFirstRef 34 1) Label if rProj if rProj.GetProjectileType set rSpell to Apple set rSpell to rProj.GetMagicProjectileSpell if (MagicItemHasEffect FIDG rSpell) RemoveAllEffectItems rTempSpell CopyAllEffectItems rSpell rTempSpell AddFullEffectItem FIDG 10 0 1 2 rTempSpell rProj.SetMagicProjectileSpell rTempSpell endif endif set rProj to Apple set rProj to GetNextRef endif
--Haama 10:44, 23 August 2008 (EDT)