PDA

View Full Version : Parenting


viper45
09-27-2001, 09:38 PM
Ok, I've got an enemy.  He has spawners that are parented to him and they are right beside him.  Those spawners spawn an enemy that has more spawners parented to it....but once I kill the second round, no more enemies appear.  I a mcompletely lost on this.  Anyone think they can help?

Iirion Claus
09-28-2001, 08:40 AM
Parenting has nothing to do with triggering spawners. If I understand you correctly, you want a second wave of spawners triggered after the first one- in that case, you need to...

- create a Trigger entity
- target it with the original spawner's template's Death Target property
- set its count to the number of enemies spawned and then check off "Count Use"
- set its target(s) to the new spawner(s)

And then create another trigger, target it with the enemy's template (you might need to create various templates, each one targetting another trigger with its Death target), repeat the above process and then target the third wave's spawners.

I'm sure there's a more thorough tutorial covering this somewhere, but I can't seem to find it.....

Earthling
09-28-2001, 03:40 PM
I think the problem is that you can't have anything parented to spawned enemies... I think.

DiEgo
09-28-2001, 04:26 PM
im with earthling on this one... i dont think parenting comes through spawners. try iirions idea, or have alot of enemies that dont spawn...

viper45
09-28-2001, 05:35 PM
well, I have things other then the spawners parented to the spawning enemies, and they work, maybe I just messed up somewhere....hhmmmm

DiEgo
09-28-2001, 06:35 PM
wait wait wait doesnt that kamikazi in the valley of the kings spawn in parented to a werebull!!?? it CAN be done. i think.

viper45
09-28-2001, 11:52 PM
What I am trying to do is spawn an enemy which has a spawner parented to it, so when those spawned enemies are killed, another enemy will spawn just where he died.

Iirion Claus
09-29-2001, 06:35 AM
Then you need to parent the spawner to the template, not to the spawner.

Spawner (with a template of monster) for wave one
Spawner (with template of monster) for wave two, parented to the template of the first wave (not to the spawner itself)

viper45
09-29-2001, 04:25 PM
thats what I have, and still cant get it to work :(