Thanks again Crimson Wizard. I'll try this out now.
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
AudioChannel *OutsideClub = aMusic4.Play();
OutsideClub.Volume = 0;
AudioChannel *InsideClub = aMusic3.Play();
InsideClub.Volume = 100;
AudioChannel *InsideClub = aMusic3.Play();
InsideClub.Volume = 100;
AudioChannel *OutsideClub = aMusic4.Play();
OutsideClub.Volume = 0;
function room_AfterFadeIn()
{
// Create timers for character animations
cDealer.LockView(9);
SetTimer(1, Random(400) + 100);
SetTimer(2, 300);
SetTimer(3, 400);
SetTimer(3, 900);
}
function room_RepExec()
{
// Animate NPCs
if(IsTimerExpired(1))
{
cDealer.Animate(0, 5, eOnce, eNoBlock, eForwards);
SetTimer(1, Random(400) + 100);
}
if(IsTimerExpired(2))
{
cBouncer.LockView(2);
cBouncer.Animate(0, 5, eOnce, eNoBlock, eForwards);
}
if(IsTimerExpired(3))
{
cBouncer.LockView(21);
cBouncer.Animate(0, 5, eOnce, eNoBlock, eForwards);
cBouncer.UnlockView();
}
if(IsTimerExpired(4))
{
cBouncer.LockView(2);
cBouncer.Animate(0, 5, eOnce, eNoBlock, eBackwards);
SetTimer(2, 300);
SetTimer(3, 520);
SetTimer(3, 900);
}
}
AudioChannel*ac = aBurgerBarBuzz.Play();
ac.Volume = 60;
Quote from: KnightOfGreenIsles on Thu 08/11/2012 13:47:23
I had the great pleasure to test drive the game last week. The humour was spot on, and the puzzles were very well thought out.
// Create Timer
function room_Load()
{
SetTimer(1, 120);
SetTimer(2, 400);
SetTimer(3, 550);
SetTimer(4, 700);
SetTimer(5, 900);
SetTimer(6, 1050);
SetTimer(7, 1250);
SetTimer(8, 1550);
SetTimer(9, 1800);
SetTimer(10, 2050);
SetTimer(11, 2300);
SetTimer(12, 2600);
SetTimer(13, 3000);
SetTimer(14, 3200);
SetTimer(15, 3400);
SetTimer(16, 3600);
SetTimer(17, 3800);
SetTimer(18, 4150);
SetTimer(19, 4400);
SetTimer(20, 4600);
}
int check1 = 0;
// This code handles the NPCs talking amongst themselves in this room
function room_RepExec()
{
if(IsTimerExpired(1))
{
if(check1 == 0)
{
cDiceNerd.SayBackground("bla bla bla");
check1 ++;
}
}
if(IsTimerExpired(1))
{
cWandNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(3))
{
cSwordNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(4))
{
cDiceNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(5))
{
cWandNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(6))
{
cSwordNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(7))
{
cDiceNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(8))
{
cWandNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(9))
{
cSwordNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(10))
{
cDiceNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(11))
{
cWandNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(12))
{
cSwordNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(13))
{
cDiceNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(14))
{
cWandNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(15))
{
cSwordNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(16))
{
cDiceNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(17))
{
cWandNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(18))
{
cSwordNerd.SayBackground("bla bla bla");
}
if(IsTimerExpired(19))
{
cDiceNerd.Say("bla bla bla");
}
if(IsTimerExpired(20))
{
cWandNerd.Say("bla bla bla");
SetTimer(1, 120);
check1 = 1;
}
if(IsTimerExpired(1))
{
if(check1 == 1)
{
cSwordNerd.SayBackground("bla bla bla");
check1 = 2;
SetTimer(1, 350);
}
}
if(IsTimerExpired(1))
{
if(check1 == 2)
{
cDiceNerd.SayBackground("bla bla bla");
check1 = 3;
SetTimer(1, 220);
}
}
if(IsTimerExpired(1))
{
if(check1 == 3)
{
cWandNerd.SayBackground("bla bla bla");
check1 = 4;
SetTimer(1, 170);
}
}
if(IsTimerExpired(1))
{
if(check1 == 4)
{
cSwordNerd.SayBackground("bla bla bla");
check1 = 5;
SetTimer(1, 220);
}
}
if(IsTimerExpired(1))
{
if(check1 == 5)
{
cDiceNerd.SayBackground("bla bla bla");
check1 = 6;
SetTimer(1, 320);
}
}
}
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.040 seconds with 16 queries.