Here's my scripts (both in same room):
function hHotspot5_WalkOn()
{
cEgo.StopMoving ();
DisableInterface();
cEgo.SetWalkSpeed (8, 8);
cEgo.WalkStraight (cEgo.x, 170, eBlock);
StopAmbientSound(1);
PlayAmbientSound(1, 2, 255, 0, 0);
cEgo.ChangeView(2);
cEgo.Animate(0, 4, eRepeat, eNoBlock);
SetTimer(3, 80);
and
function room_RepExec()
{
if (IsTimerExpired(3) == 1){
cEgo.Transparency = 100;
object[0].Visible = false;
}
}
Problem is that the character and the object don't disappear. What gives?
function hHotspot5_WalkOn()
{
cEgo.StopMoving ();
DisableInterface();
cEgo.SetWalkSpeed (8, 8);
cEgo.WalkStraight (cEgo.x, 170, eBlock);
StopAmbientSound(1);
PlayAmbientSound(1, 2, 255, 0, 0);
cEgo.ChangeView(2);
cEgo.Animate(0, 4, eRepeat, eNoBlock);
SetTimer(3, 80);
and
function room_RepExec()
{
if (IsTimerExpired(3) == 1){
cEgo.Transparency = 100;
object[0].Visible = false;
}
}
Problem is that the character and the object don't disappear. What gives?