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 → Whats wrong with this cog
Whats wrong with this cog
2002-03-24, 6:14 AM #1
Code:
#####
#####
#####
#_________
symbols

 message activated

thing  switch

end
#_________
code
#---------
activated:

 Print(heeheehee);

return;

end
#---------
Ive moved over to JK2
2002-03-24, 6:33 AM #2
The cog doesn't know when to run. You need something to tell the cog when to start, like a sector symbol or something.

------------------
"The future is not determined by a throw of the dice, but is determined by the conscious decisions of you and me."
I am addicted to ellipses!!! AHHH!!! ...
2002-03-24, 8:03 AM #3
Code:
symbols
message activated
thing  switch
end
code
activated:
Print("heeheehee");
return;
end



Bingo, problem solved.

------------------
Success is the inverse relationship between effort, gain, and loss.

JK editing resources.
And when the moment is right, I'm gonna fly a kite.
2002-03-24, 9:46 AM #4
Ooh I knew I was missng somthing.
How do big cogs with more than one surface know witch surface is activated.
Ive moved over to JK2
2002-03-24, 11:22 AM #5
check the Sender with GetSenderRef() or give the surfaces in the symbols section a linkid...i suggest you look at a basic elevator cog with call switches.
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2002-03-24, 11:25 AM #6
Whoops, didn't see the thing switch ... disregard my comment ... [http://forums.massassi.net/html/confused.gif]

------------------
"The future is not determined by a throw of the dice, but is determined by the conscious decisions of you and me."
I am addicted to ellipses!!! AHHH!!! ...

↑ Up to the top!