How can i spawn a hatchery with 3 larvas attached to it, or to create the larvas after i made the hatchery and attached them to it? I can create the larvas, but they are not going to be attached.
I want to create a hatchery with a trigger and when it spawns i want it to have 3 larva attached to it. I know its a behaviour, but i have no idea how to use that knowledge...
Right now if you spawn a hatchery with the create trigger it will have no larva until it produces some. If after that i create larva with the create untis trigger, the larva will appear near the hatchery, but they will be out of position and if you select the hatchery and press "S" they will not be selected and the hatchery will produce larva even thought i create some, because the created larva is not attached.
well the hatchery selects larva it created... not larva near it
what i would suggest is increasing the rate at which the hatchery spawns larva... but that would basically give you infinite larva and cause other problems
find "Hatchery - Spawn Larvae" under "Behaviors"
Spawn Rate
The spawn rate is also part of the behavior. To set it, open the "Info Array" field and modify the "Delay" value.
Why cant you allow it the 10 seconds it takes for it to naturally spawn the larva?
How can i spawn a hatchery with 3 larvas attached to it, or to create the larvas after i made the hatchery and attached them to it? I can create the larvas, but they are not going to be attached.
@Darkov2: Go
Don't you just spawn 3 Larvas close to the Hatchery corresponding to the players colour?
no they act unattached and the hatchery spawns 3 more.
Well normally a Hatchery would produce Larvas itself so... <_<
@Emnesia: Go
i need the the moment the hatchery is produced
Hatcheries have a havior on them that spawn larva....
I dont really understand what your question is?
heres a tut I made long ago
http://www.stardepot.org/11/increase-larva-spawn
@SouLCarveRR: Go
I want to create a hatchery with a trigger and when it spawns i want it to have 3 larva attached to it. I know its a behaviour, but i have no idea how to use that knowledge...
Right now if you spawn a hatchery with the create trigger it will have no larva until it produces some. If after that i create larva with the create untis trigger, the larva will appear near the hatchery, but they will be out of position and if you select the hatchery and press "S" they will not be selected and the hatchery will produce larva even thought i create some, because the created larva is not attached.
I need this for a KOTH type of map i'm doing.
well the hatchery selects larva it created... not larva near it
what i would suggest is increasing the rate at which the hatchery spawns larva... but that would basically give you infinite larva and cause other problems
find "Hatchery - Spawn Larvae" under "Behaviors"
Spawn Rate
The spawn rate is also part of the behavior. To set it, open the "Info Array" field and modify the "Delay" value.
Why cant you allow it the 10 seconds it takes for it to naturally spawn the larva?
You could duplicate the behavior, remove the delay time, then add it when it's created, and then remove the behavior when it has spawned three.