gatorman666uk Posted May 23, 2011 Share Posted May 23, 2011 Hi all,I'm trying to add a scripted effect to the flamer effect so that anything within 1-2 feet will also catch fire.I've added an effect to EnchFlamerEffect that has an area, which has the following script linked to it: ref Target Begin ScriptEffectStart set Target to GetSelf if (Target.GetItemCountAsh == 0) ; I use a dummy item to check whether something is already burning to stop the flames constantly switching back and forth. Target.CastImmediateOnSelf EnchFlamerEffect; self propagation of the burning effect Target.Additem Ash 1 endifEnd Begin ScriptEffectFinish Target.RemoveItem Ash 1 End I know that it'd be easier to check if the NPC is affected by EnchFlamerEffect than the item but I chucked that in to speed through to getting it working. Currently the effect only spreads to other NPCs if they are in range when the source initially catches on fire. I know this is because I made the effect with ScriptEffectStart, I've tried using the same script inside a ScriptEffectUpdate block but it doesn't seem to work. I never really used ScriptEffectUpdate whilst Oblivion modding so I don't know it's limits. Does anyone know what I need to do with the script to get it to function properly?Thanks in advanceGator Link to comment Share on other sites More sharing options...
Recommended Posts