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 → I need a cog.......
I need a cog.......
2001-12-22, 9:03 AM #1
Its kinda simple, what it does is every 10 seconds that you are in a certain sector, it outputs text. The text can be right out of the cog.
2001-12-22, 10:17 AM #2
Umm. Ok.


Code:
#12/2001 GBK
Symbols
Message Startup
Message Pulse
Flex Seconds=10.0
Sector Target
Thing Player    Local
End
Code
Startup:
Setpulse(Seconds);
Player = JKgetlocalplayer();
Stop;
Pulse:
If(Getthingsector(Player) != Target) Stop;
JKstringclear();
JKstringconcatasciistring("YOUR MESSAGE HERE.  MAKE SURE THE QUOTES STAY INTACT.");
JKstringoutput(-3, -1);
Stop;
End



I dont know if it works, I just typed it into the box. But it should... [http://forums.massassi.net/html/biggrin.gif]

 

Oh yeah, credit me... [http://forums.massassi.net/html/tongue.gif]

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!