Posted by Pugi on November 24, 1998 at 13:41:08:
COG help needed:
I was writing a cog such that when a specified thing
is damaged, it will explode and disappear. Thing is when
I damage the thing in a test run, the explosion occurs
at the player's location instead of the dummy's location.
And I use: boom = CreateThing(explode_template,dummy_location);
in the damaged message routine. When I added a mask(0xfff) to the
thing, it created the explosion at the dummy location but still
created an explosion at the player's location. I'm trying to
stop this because if I add a DestroyThing line, the player
will get destroyed too!
Any help with this?
Pugi