home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Classic Fond 52
/
ClassicFond52.iso
/
GAMES
/
DROIDW.RAR
/
DWCD.GOB
/
mission_cog_03_ecam1.cog
< prev
next >
Wrap
Text File
|
1998-11-04
|
1KB
|
59 lines
# Jedi Knight Cog Script
#
# 00_Door.cog
#
# Generic Door Script
#
# [IS]
#
# (C) 1997 LucasArts Entertainment Co. All Rights Reserved
# ========================================================================================
symbols
message user1
message arrived
message timer
thing camera1
float moveSpeed=0.5
float sleepTime=2.0
float lightValue=0.5
int numDoors=0 local
int doorStatus local
int moveStatus local
int i local
cog ecam2
end
# ========================================================================================
code
user1:
//user1 received from tanks.cog when solution reached
Sleep(0.5);
setcamerafocus(0, camera1);
setcurrentcamera(0);
dwfreezeplayer();
print("ooplah");
MoveToFrame(camera1, 1, 1.3);
settimer(10);
return;
//timer:
//movetoframe(camera2, 1, 3);
//return;
timer:
dwunfreezeplayer();
setcurrentcamera(7); //return camera to normal
sendmessage(ecam2, user2);
return;
end