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 → Is there way to discintergrate an enemy ?
Is there way to discintergrate an enemy ?
2001-04-26, 1:30 AM #1
I'm guessing this is a cog question. I need to be able shoot an enemy once, thatll stun him, I think I can do that myself.
The second kills. As the enemy falls in death, by shooting him a third time, I need the enemy replaced by a discintergration sprite of my own design.

THis may not even be possible. If not, can you just tell me how to freeze an enemy for a sleep(5)
Code:
if(getThingFlags(source) & 0x8){
  do her}
elseif(getThingFlags(source) & 0x4){
  do other babe}
else{
  do a dude}
2001-04-26, 6:42 AM #2
er...
Code:
killed:

RemoveThing(thing # or whatever,I dunno..)

Sorry for trying!!! I'll have to check JKSpecs...
Hey, I'm here! But who cares?
2001-04-26, 6:45 AM #3
Ah...
Code:
killed:
DestroyThing(thing)<----You need the ID for it... [http://forums.massassi.net/html/frown.gif]
and I wouldn't know how to put in the particles....
maybe./..um...i dunno...
Hey, I'm here! But who cares?

↑ Up to the top!