Thanks.I'll do that.Now for the sake of clarity.Since a room's script does not have repeatedly execute always it would not be able to do this script.Right?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
if(cfattymouth.Speaking)
{
cfattymouth.Transparency=0;
}
else
{
cfattymouth.Transparency=100;
}
QuoteThanks that helps some.
if (selectedoverlay != null)
selectedoverlay.Remove(); // remove previous overlay if it exists
selectedoverlay=Overlay.CreateGraphical(Xposition, Yposition, startsprite,transparent);
function animateoverlay(Overlay* selectedoverlay, int Xposition, int Yposition, int startsprite,int endsprite, int transparent, int repeatoronce)
{
selectedoverlay=Overlay.CreateGraphical(Xposition, Yposition, startsprite,transparent);
selectedoverlay.Remove();
startsprite+=1;
if(startsprite!=endsprite)
{
CallRoomScript(animateoverlay(Overlay* selectedoverlay,int Xposition,int Yposition,int startsprite,int endsprite,int transparent,int repeatoronce));
}
else
{
if(repeatoronce==repeat)
{
startsprite=0;
}
if(repeatoronce==once)
{
selectedoverlay.Remove();
}
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.039 seconds with 16 queries.