Well I started on a small test level that is going to be a cutscene. I am kinda new to this but here is my cog:
symbols
thing camera1
thing camera2
thing Greedo
thing player local
thing kyle local
sound beep=beep2.wav local
sound gredtalk=i00gr11z.wav local
sound kyle=i00ky01z.wav local
sound kyletwo=i00ky77z.wav local
sound greedtwo=i00gr08z.wav local
sound greedlaugh=i00gr01t.wav local
message startup
end
code
startup:
Player = GetLocalPlayerThing();
// freeze Kyle
SetActorFlags(Player, 0xa00000);
StopThing(Player);
jkBeginCutscene();
Sleep(0.0);
AiSetMoveFrame(Greedo, 2);
SetCameraFocus(0, camera1);
Sleep(3.0);
SetCameraFocus(0, camera2);
MoveToFrame(camera2, 1, 1.5);
PlaySoundLocal(gredtalk, 1, 0, 132);
Print("Hi, I was wondering if you would like to buy some snacks from me.");
Sleep(2.5);
MoveToFrame(camera2, 2, 1.5);
PlaySoundLocal(kyle, 1, 0, 132);
Print("This is exactly what I needed...");
Sleep(2.5);
MoveToFrame(camera2, 1, 1.5);
PlaySoundLocal(greedtwo, 1, 0, 132);
Print("Okie Dokie, heres three candies.");
Sleep(2.5);
MoveToFrame(camera2, 2, 1.5);
PlaySoundLocal(kyletwo, 1, 0, 132);
Print("This is got to be bad for my health...");
Sleep(2.5);
MoveToFrame(camera2, 1, 1.5);
PlaySoundLocal(greedlaugh, 1, 0, 132);\
Print("heh heh heh, sucker...");
Sleep(2.5);
jkEndCutscene();
jkEndLevel(1);
Return;
end
______________
When i start up my level it shows first person veiw and then freezes. I have to shut off my computer
Anyone know what the problem is?
------------------
Eat food
symbols
thing camera1
thing camera2
thing Greedo
thing player local
thing kyle local
sound beep=beep2.wav local
sound gredtalk=i00gr11z.wav local
sound kyle=i00ky01z.wav local
sound kyletwo=i00ky77z.wav local
sound greedtwo=i00gr08z.wav local
sound greedlaugh=i00gr01t.wav local
message startup
end
code
startup:
Player = GetLocalPlayerThing();
// freeze Kyle
SetActorFlags(Player, 0xa00000);
StopThing(Player);
jkBeginCutscene();
Sleep(0.0);
AiSetMoveFrame(Greedo, 2);
SetCameraFocus(0, camera1);
Sleep(3.0);
SetCameraFocus(0, camera2);
MoveToFrame(camera2, 1, 1.5);
PlaySoundLocal(gredtalk, 1, 0, 132);
Print("Hi, I was wondering if you would like to buy some snacks from me.");
Sleep(2.5);
MoveToFrame(camera2, 2, 1.5);
PlaySoundLocal(kyle, 1, 0, 132);
Print("This is exactly what I needed...");
Sleep(2.5);
MoveToFrame(camera2, 1, 1.5);
PlaySoundLocal(greedtwo, 1, 0, 132);
Print("Okie Dokie, heres three candies.");
Sleep(2.5);
MoveToFrame(camera2, 2, 1.5);
PlaySoundLocal(kyletwo, 1, 0, 132);
Print("This is got to be bad for my health...");
Sleep(2.5);
MoveToFrame(camera2, 1, 1.5);
PlaySoundLocal(greedlaugh, 1, 0, 132);\
Print("heh heh heh, sucker...");
Sleep(2.5);
jkEndCutscene();
jkEndLevel(1);
Return;
end
______________
When i start up my level it shows first person veiw and then freezes. I have to shut off my computer
![http://forums.massassi.net/html/frown.gif [http://forums.massassi.net/html/frown.gif]](http://forums.massassi.net/html/frown.gif)
------------------
Eat food
Eat food