Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Displaying text
Displaying text
2001-09-19, 1:43 PM #1
My friend has talked me into doing a level and in it lines of text appear as you cross adjoins. I've already made a cog that will print a line of text but I'm having to make a new cog for each new massage!

What I need is a cog that displays a line of text from cogstrings.uni when you cross an adjoin. It needs to have a delay from when you cross the adjoin to when it displays it.
If you can make a cog that displays a line of text after a delay and then another line of text after another delay I would be very happy :-)
The cog is for a JK SP level.

Thank you very much.
2001-09-19, 3:27 PM #2
If you got the COG already working, just make a little modification to the crossed message:
Code:
crossed:
if (GetSenderRef()==SurfaceToCross1)
   {
   // Here goes the code part where you wait and print the message
   }
if (GetSenderRef()==SurfaceToCross2)
   {
   // Here goes the code part where you wait and print another message
   }
// ...and so on... as often as you need
return;

That's it pretty basic. [http://forums.massassi.net/html/smile.gif]
Maverick

↑ Up to the top!