PDA

View Full Version : Alright I cant get this to work.......



Red 5
10-22-2000, 04:29 PM
Ok when it comes down to it I know nothing about cogs. I want to have some words come up on the screen right when you start the level and only then. I just want it to say the lines on a differnt line so thnat its more understandable. Heres what I have so far.

symbols
sector sec
message entered
int saylines=1 local
end
code
entered:
if(saylines==1)
{
Print("This is the imperial base of operations you must infilitrate and escape with the keys from.");
Sleep(3);
Print("It is heavily guarded and you must avoid firefights to survive.");
Sleep(3);
Print("Once you have the three emergency stop keys in your possession, find a way out of the base to where you can contact Jan and make your escape.");
Saylines=0;
}
return;
end

What am I doing wrong. I defintely ned some help here.
Thanks alot,
Red 5

Zecks
10-23-2000, 02:54 AM
# JK COG
#
# Blah
#
# Not made by LucasArt.

symbols

message startup

end

# ------------

code

startup:

Print("This is the imperial base of operations you must infilitrate and escape with the keys from.");
Sleep(3);
Print("It is heavily guarded and you must avoid firefights to survive.");
Sleep(3);
Print("Once you have the three emergency stop keys in your possession, find a way out of the base to where you can contact Jan and make your escape.");

# --------

end


Ok, that should do it. let me know if it doesn't.

------------------
Mmm.... have a donut.