• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Create Larvae For Hatchery

Status
Not open for further replies.
Level 4
Joined
Aug 14, 2007
Messages
66
I have hatcheries being placed on the map through triggers and I need them to start out with 1 larvae rather then wait for its cycle to produce one. I would just create a larvae at its position but that doesnt make the larva selectable via the Select Larvae ability on the hatchery. How can I link larvae to hatcheries to make them selectable by the ability?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
In the larve spawning behaviour (spawner type I believe), add a new spawn configurtation which is set to fire one when the building created.

There should initiallz be 2 spawn types. 1 is the passive spawning of up to 3 larve over time while the other is used by the egg ability of the queen to spawn additional larve over 3. You are after adding a new one which spawns larve only once when the building is created. Use a validator the help you with this.
 
Status
Not open for further replies.
Top