Okay so heres the trigger, is there any problem with it??
-
Hunger Buff
-
Events
-
Time - Every 0.50 seconds of game time
-
-
Conditions
-
Actions
-
Set UnitHungry[1] = (Units of type Doctor)
-
Set UnitHungry[2] = (Units of type Farmer)
-
Set UnitHungry[3] = (Units of type Mechanic)
-
Set UnitHungry[4] = (Units of type Veteran Soldier)
-
Set UnitHungry[5] = (Units of type Veteran Soldier1)
-
Set Integer = (Random integer number between 1 and 5)
-
Unit Group - Pick every unit in UnitHungry[Integer] and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Integer((Life of (Picked unit)))) Less than 500) and (((Picked unit) has buff Hunger ) Equal to False)
-
-
Then - Actions
-
Unit - Create 1 Dummy for Neutral Hostile at (Position of (Picked unit)) facing Default building facing degrees
-
Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Picked unit)
-
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
-