Hi thanks 2.0,
I have this at the moment - not great on scripting and still learning
This is my INVENTORY script so it fades in and out.
#include "scripts\base.inc"
global Faded;
method FadeIn()
{
Game.InventoryVisible = true;
for(var i=1; i<=10; i=i+1)
{
this.AlphaColor = MakeRGBA(255, 255, 255, 25*i);
Sleep(40);
}
this.AlphaColor = MakeRGBA(255, 255, 255, 255);
Faded = true;
}
method FadeOut()
{
for(var i=10; i>=1; i=i-1)
{
this.AlphaColor = MakeRGBA(255, 255, 255, 25*i);
Sleep(40);
}
this.AlphaColor = MakeRGBA(255, 255, 255, 0);
Game.InventoryVisible = false;
Faded = false;
}
Any help would be great on the scripting
Thanks