Jump to content

Eldarth

Premium Member
  • Posts

    2
  • Joined

  • Last visited

Nexus Mods Profile

About Eldarth

Profile Fields

  • Country
    United States

Eldarth's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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:
  2. 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
×
×
  • Create New...