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 → Removed doesn't run...
Removed doesn't run...
2001-06-28, 2:50 PM #1
Most of the time, when my projectile is destroyed the removed message in its template cog runs. But, when the projectile is destroyed by something other than itself(IE, a nearby explosion), the projectile just disappears and removed doesn't run. How can I fix this?

I've tried doing something like:

pulse:

killtimerex(1);
Settimerex(.2, 1, 0, 0);
#=====================
timer:

#End some stuff that shouldn't keep running
#when the proj is destroyed.

That worked half the time. I need help with this and a few other problems quickly, because I have only 10 more days before I either give this project up or find someone who will continue it for me.

Thanks,
SaberMaster

------------------
The enemy is in front of us, behind us, to the left, and to the right. This time they won't get away.

[This message has been edited by SaberMaster (edited June 28, 2001).]
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-06-28, 4:16 PM #2
possibly, add the killed: message, and set it up like this

killed:
\\followed by:
removed:
\\your stuff here.

Cant assure that it'll work, but see what happens and get back to me.
2001-06-29, 10:40 AM #3
Well, I tried something like this:

killed:

#End some things

Return;

I had it defined as a message, but it didn't run. Anyway, I no longer get that error. -Not sure why. I'm using a different computer now, so that might be it.

Thanks anyway, Greven. [http://forums.massassi.net/html/smile.gif]

------------------
The enemy is in front of us, behind us, to the left, and to the right. This time they won't get away.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.

↑ Up to the top!