Eldarth Posted August 12, 2016 Share Posted August 12, 2016 I'm trying to add a Fire effect to a door but it appears flat almost like it is being projected onto the surface of the object.I'm trying to use EffectShader on the object - is there some way of getting it to ignore the surface of the object? Here's how it looks... Here's the code I'm using... Scriptname DetectNearbyDoors extends activemagiceffect EffectShader Property PFireFXS01 Auto Const Mandatory FormList Property PrkcDoorList Auto Const Mandatory Event OnEffectStart(Actor akTarget, Actor akCaster) ; Debug.MessageBox("Script start on [" + akCaster + "]") ; Debug.MessageBox("PrkdDoorList size = [" + PrkcDoorList.GetSize() + "]") ObjectReference[] doorsArray = akCaster.FindAllReferencesOfType(PrkcDoorList , 5000.0) ; Debug.MessageBox("DetectNearbyDoors found [" + doorsArray.Length + "] doors.") Debug.MessageBox("Playing AnimEffects") Int iIndex3 = doorsArray.Length While iIndex3 iIndex3 -= 1 ObjectReference object = doorsArray[iIndex3] float fx = object.GetPositionX() float fy = object.GetPositionY() float fz = object.GetPositionZ() + 20.0 ;object.SetPosition(fx, fy, fz) ; Debug - so we know we found the right objects PFireFXS01.Play(object, 300.0) EndWhile endEvent Link to comment Share on other sites More sharing options...
Eldarth Posted August 16, 2016 Author Share Posted August 16, 2016 Seriously? There are no script experts that know how to place a special effect at an object location?? This is the last piece keeping me from publishing a mod. :sad: Link to comment Share on other sites More sharing options...
Recommended Posts