Jump to content

Applying shader on object


Archey6

Recommended Posts

Hi, im trying to create a mod that makes a spell that when cast will apply a Effect Shader onto a specified object. Ive made the spell, effect, and effect shader. I can get my script to disable the object when the spell is cast, but when i try to get it to Play the effect shader, it doesnt do anything. Here is my script source

Scriptname ArchTestScript extends activemagiceffect  
{Kappa}

ObjectReference Property flr01 Auto
EffectShader Property ArchTestFX Auto

Event OnEffectFinish(Actor akTarget, Actor akCaster)
	ArchTestFX.Play(flr01, 10)
EndEvent

Ive got both properties set correctly. Ive also tried OnSpellCast(my created spell doesnt seem to be considered a spell), and OnEffectStart

Edited by archeyreece
Link to comment
Share on other sites

  • Recently Browsing   0 members

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