Idontknowyou
New Member
- Reaction score
- 33
I use these two triggers and an autocast ability to make my villagers reproduce
This should make the woman have a child once the buff wears off, but it doesn't; can anyone spot an error in my triggering?
The ability is being cast, but the women don't reproduce once the buff is gone....
Knock up
Events
Unit - A unit Begins casting an ability
Conditions
And - All (Conditions) are true
Conditions
(Ability being cast) Equal to Knock up
((Target unit of ability being cast) has buff pregnant ) Equal to False
Actions
Unit Group - Add (Target unit of ability being cast) to pregnantwomen
Events
Unit - A unit Begins casting an ability
Conditions
And - All (Conditions) are true
Conditions
(Ability being cast) Equal to Knock up
((Target unit of ability being cast) has buff pregnant ) Equal to False
Actions
Unit Group - Add (Target unit of ability being cast) to pregnantwomen
Have baby
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in pregnantwomen and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has buff pregnant ) Equal to False
Then - Actions
Unit - Create 1 Child for Player 9 (Gray) at (Position of (Picked unit)) facing Default building facing degrees
Unit Group - Remove (Picked unit) from pregnantwomen
Else - Actions
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in pregnantwomen and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has buff pregnant ) Equal to False
Then - Actions
Unit - Create 1 Child for Player 9 (Gray) at (Position of (Picked unit)) facing Default building facing degrees
Unit Group - Remove (Picked unit) from pregnantwomen
Else - Actions
This should make the woman have a child once the buff wears off, but it doesn't; can anyone spot an error in my triggering?
The ability is being cast, but the women don't reproduce once the buff is gone....