Page 3 of 4

Posted: Thu Aug 25, 2005 12:00 pm
by Graf Zahl
Mindless ramblings of an idiot, I presume. :D

Posted: Thu Aug 25, 2005 1:12 pm
by DoomRater
Or it's one of those "You need to get laid written in leet" messages.

Posted: Tue Nov 29, 2005 11:38 pm
by DoomRater
Is it just me or does A_KillChildren do nothing? If it's just me, can I get an example usage?

Posted: Wed Nov 30, 2005 12:03 am
by Inuyasha_989
It's used in junction with A_SpawnItem if I'm not mistaken...

Posted: Wed Nov 30, 2005 10:37 am
by DoomRater
I used A_SpawnItem to spawn the things, then when the projectile died I called A_KillChildren. But the things spawned did not die.

Posted: Wed Nov 30, 2005 11:02 am
by Phobus
You have to have the childclass and parentclass bits set up, I would imagine.

Posted: Wed Nov 30, 2005 12:13 pm
by Graf Zahl
What bits?

Posted: Wed Nov 30, 2005 12:38 pm
by Phobus
They're flags or something aren't they? Like renderstyle and stuff, or am I talking out of my arse?

Posted: Wed Nov 30, 2005 1:05 pm
by DoomRater
There was no mentioning of that in the Wiki entry where I found the Codepointer. And I need it to finish my contribution to The Stranger.

Posted: Thu Dec 01, 2005 3:12 pm
by Phobus
There is ParentClass (or was it ChildClass...), but it is undocumented. :?

Posted: Thu Dec 01, 2005 3:34 pm
by Graf Zahl
There is not.

Posted: Thu Dec 01, 2005 4:05 pm
by DoomRater
Graf, do you know what my problem is? As I said I used SpawnItem to create the projectiles (do they have to be monsters in order for it to work?) and nothing.

Posted: Thu Dec 01, 2005 4:06 pm
by Phobus
Ok, I'm wrong then, but the wiki does chuck up a reference when you search for one of them.

Posted: Thu Dec 01, 2005 5:07 pm
by Graf Zahl
DoomRater wrote:Graf, do you know what my problem is? As I said I used SpawnItem to create the projectiles (do they have to be monsters in order for it to work?) and nothing.

If you refer to killing, the object to be killed has to be shootable. Otherwise any attempt to damage it won't do anything at all. Projectiles also can't kill their owner because the needed information is never passed to them.

Posted: Thu Dec 01, 2005 5:57 pm
by DoomRater
Can Projectiles kill their children? If not I'll make the spawned projectile a friendly monster instead and use A_PainAttack.

EDIT: Uh, Can A_PainAttack be used from a player?