bwins95 Posted June 5, 2015 Share Posted June 5, 2015 (edited) I've gotten back to work on my glowing items mod and I'm almost done with it. the only problem I'm having is turning off the shader when I remove the glasses that turn the shaders on when they are put on. scn aaaaGlowingItems ref rCurrentRef Begin OnEquip player set bscan1 to 1 End Begin GameMode if bscan1 set bscan1 to 0 set rCurrentRef to GetFirstRef 31 1 0 Label 2 if rCurrentRef if aaaaGlowingItemssCaps == 1 if aaaaGlowingItemssCapsGreen == 1 rCurrentRef.PlayMagicShaderVisuals aaaaGlowingItemsShaderGreen elseif aaaaGlowingItemssCapsRed == 1 rCurrentRef.PlayMagicShaderVisuals aaaaGlowingItemsShaderRed elseif aaaaGlowingItemssCapsBlue == 1 rCurrentRef.PlayMagicShaderVisuals aaaaGlowingItemsShaderBlue elseif aaaaGlowingItemssCapsWhite == 1 rCurrentRef.PlayMagicShaderVisuals aaaaGlowingItemsShaderWhite elseif aaaaGlowingItemssCapsYellow == 1 rCurrentRef.PlayMagicShaderVisuals aaaaGlowingItemsShaderYellow elseif aaaaGlowingItemssCapsPink == 1 rCurrentRef.PlayMagicShaderVisuals aaaaGlowingItemsShaderPink elseif aaaaGlowingItemssCapsPurple == 1 rCurrentRef.PlayMagicShaderVisuals aaaaGlowingItemsShaderPurple elseif aaaaGlowingItemssCaps == 0 endif set rCurrentRef to Pencil01 set rCurrentRef to GetNextRef Goto 2 endif endif endif EndI know that stopmagicshadervisuals can stop it, but I can't figure out how to get it to work with the removal of the glasses. Edited June 5, 2015 by bwins95 Link to comment Share on other sites More sharing options...
bwins95 Posted June 5, 2015 Author Share Posted June 5, 2015 Never mind. I figured it out. Link to comment Share on other sites More sharing options...
Recommended Posts