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 → Respawn message
Respawn message
2003-09-21, 9:44 AM #1
I'm trying to run some code when power ups respawn. I whipped up some test cog:
Code:
flags=0x100
symbols

message		respawn
thing		item_respawn_0

end

code

respawn:
	print("respawn message called!");
	print(GetSenderRef());

end

However, when the item respawns, nothing is printed on the screen.

Any thoughts?

------------------
How do you get an evil herbivore?
Evil G
2003-09-21, 10:40 AM #2
I assume you've properly added this cog as a class cog to the correct template(s)?

------------------
"The Just shall live by faith." - Galatians 3:11
To edit is human... To COG is divine!!
America is a giant horn-dog.

[Anoying posts] + 1.

[This message has been edited by DogSRoOL (edited September 21, 2003).]
Catloaf, meet mouseloaf.
My music

↑ Up to the top!