im basicly creating a rain texture to show up like the drugeffects. any idea
what im missing?
- Code: Select all
#exec OBJ LOAD FILE=Effects
state Activated
{
function BeginState()
{
local DeusExRootWindow root;
local Deusexplayer dxp;
root=DeusExRootWindow(DeusExPlayer(Owner).rootwindow);
if ((root != None) && (root.hud != None))
{
if (root.hud.background == None)
{
root.hud.SetBackground (FireTexture'Effects.water.Fountain_FX');
root.hud.SetBackgroundSmoothing(True);
root.hud.SetBackgroundStretching(True);
root.hud.SetBackgroundStyle(DSTY_Modulated);
}
}
}
Begin:
}