• 🏆 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!

[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)
 
Level 13
Joined
Nov 20, 2006
Messages
553
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.
Top