• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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 63
Joined
Jan 18, 2005
Messages
27,197
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