Jump to content

Mines with GetFirstRef


bwins95

Recommended Posts

I'm trying to add a shader to mines after you get light step.

 

I've managed to get this far.

ScriptName aaaaLightstep
   
ref    rCurrentRef

Begin GameMode
    if (Player.HasPerk Lightstep == 1)
        set rCurrentRef to GetFirstRef 40 1 0
            Label 2
            if rCurrentRef
                    rCurrentRef.PlayMagicShaderVisuals  aaaaGlowingItemsShaderRed
                    set rCurrentRef to Pencil01
                    set rCurrentRef to GetNextRef
            Goto 2
            endif
    endif
End

I can easily add the shader to all weapons, but I can't figure out how to put it only on mines.

Edited by bwins95
Link to comment
Share on other sites

  • Recently Browsing   0 members

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