• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Trigger] Help w/sheep farmer like trigger

Status
Not open for further replies.
Level 2
Joined
Sep 21, 2007
Messages
17
I need help with a trigger, like that in sheep farmer, where a male animal impregnates a female animal, creating a unit inisde the female animal, when the mana of the unit inside the female animal reaches it's max, kill the unit inside the female and spawn a male or female animal (50 percent chance on each)
 
if the animal sheep pregnant give her a buff( for ex: unholy aura to know if her pregnant sheep).
then set.
if percentace mana of pregnant sheep equal to 100
triggering unit have buff pregnant
then kill pregnant shep.
set the pregnant sheep position, then
set random number (for ex: set chance : between 1 and 2)
if chance equal 1
then cr8 male sheep in position pregnant sheep
if chance equal 2
cr8 female sheep ....
 
probably, when the unit casts the ability on the other unit to make it pregnant, then create the "Baby" and give the pregnant unit load, cargohold, cargoholddeath, abilities, and order it to load the "baby", then after certain amount of time, give the pregnant unit unload abil, and order it to unload "baby" then remove all the abilities.
 
Status
Not open for further replies.
Back
Top