Jump to content

Splatter Magic Effect Assistance Request


FlashyJoer

Recommended Posts

Good morning all,

 

I am looking to add a magic effect ingame where companion NPC will randomly be sick during radstorms. I have the firing mechanism in place but I cannot get the decal to appear in the game world when the effect kicks in. I know the effect is firing, because i can hear the choking on water sound, but yeah, the decal of plasma goo does not show up on the ground. Can anyone assist me in figuring out how to make the decal appear at the NPCs location at time of effect triggering? I have the effect set up at this time, as shown in the attached SS.

Link to comment
Share on other sites

Okay, so Ive found that if I add an Activator property for GooPile01 (plasma goo pile) in an attached Effect script and then use RefAlias.PlaceAtMe(Goopile01) in the onEffectStart() event, it actually adds the item to the world at ground level, centered on the NPC at full size. Setscale and Setposition do not work on Activator, so I will try to use it as an Object Reference add see if that works or not to size it smaller and offset it to be in front of the NPC.

 

What Im struggling with, aside from scale/position, is how to erase the goo pile after a set amount of time. I am in process of trying out a GooPile01.delete() function in the OnEffectFinish event to see if that works, but Im sceptical that using this item as an Object Ref is going to work at all... if I leave it as an activator, the goo pile remains in the world, days after it was spawned and even fast travel out of the cell and then walking back to it, its still there... I need it to go away after a set amount of time, otherwise the commonwealth is going to be VERY pukey...

 

Thoughts?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...