Posted by matthew pate on October 28, 1998 at 04:39:01:
I am working on my level, an sp one for MotS, and this COG doesn't seem to work. Would someone mind pointing the error out? Thanks.
Btw, the script is from Harjassk Diplomacy 2, and the speech has been censored to protect the innocent. :)
# Shuttle Flies
# Jedi Knight Cog Script
#
# bomberfly.cog
#
#
symbols
message entered
sector startsector
thing shuttle
thing camera
thing camera2
int player local
end
------------------------------------------------------------
code
entered:
print("dfgdhdhdhdfhdfhdgh");
sleep(2);
SetActorFlags(jkGetLocalPlayer(), 0xa00000); //freeze Kyle
jkBeginCutscene(); //begin the cutscene
SetCameraFocus(0, camera);
MoveToFrame(shuttle, 0, 50);
sleep(7);
SetCameraFocus(0, camera2);
sleep(2);
print("dfgdfgdfgdfgdfgdfgdfgdfg");
MoveToFrame(camera2, 0, 1);
sleep(3);
print("dfhfghjfgsdfdgjhfhrttydty");
MoveToFrame(camera2, 1, 1);
sleep(3);
print("sdgdghdrydgdfhdfh");
sleep(5);
jkEndLevel(1);
return;
# ........................................................................................
end
Thanks.