• 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.

Nuetral Creeps

Status
Not open for further replies.
Level 6
Joined
Mar 6, 2010
Messages
116
I'm using this one,but you can find many more.
  • Untitled Trigger 001 Copy
    • Events
      • Time - Every 60.00 seconds of game time
    • Conditions
      • (Number of units in (Units in Creep Region1<gen>)) Equal to 0
    • Actions
      • Unit - Create 2 Dark Troll for Neutral Hostile at (Creep Region1 <gen>) facing Default building facing degrees
      • Unit - Create 1 Dark Troll Shadow Priest for Neutral Hostile at (Center of CreepRegion1 <gen>) facing Default building facing degrees
 
Level 6
Joined
May 4, 2012
Messages
187
why its not working?

I think you didn't set-up the variables.
You can also try these :
You can use this I think...

  • Init of Creeps
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- -------------------------------------------------------- --------
      • Set NEUTRAL_CREEPS[1] = Anything you would like as a creep.
      • Set NEUTRAL_CREEPS[2] = A partner of the above creep.
      • Set NEUTRAL_CREEPS[3] = A stronger creep.
      • -------- -------------------------------------------------------- --------
      • Set NEUTRAL_REGION_1[1] = Region for Weaker Creep.
      • Set NEUTRAL_REGION_2[1] = Region for Stronger Creep
      • -------- -------------------------------------------------------- --------
  • Creep Spawnzers
    • Events
      • Time - Every 45.00 ([B]Comment[/B] : Change this to your desired amount of time) seconds of game time
    • Conditions
    • Actions
      • -------- -------------------------------------------------------- --------
      • For each (Integer A) from 1 to 2, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Number of units in (Units in NEUTRAL_REGION_1[1])) Equal to 0
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 1 and 2) Equal to 1
                • Then - Actions
                  • Set Creep01_Point = (Center of NEUTRAL_REGION_1[1])
                  • Unit - Create 3 NEUTRAL_CREEPS[1] for Neutral Hostile at Creep01_Point facing Default building facing degrees
                  • Custom script: call RemoveLocation(udg_Creep01_Point)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Random integer number between 1 and 2) Equal to 2
                    • Then - Actions
                      • Set Creep01_Point = (Center of NEUTRAL_REGION_1[1])
                      • Unit - Create 1 NEUTRAL_CREEPS[1] for Neutral Hostile at Creep01_Point facing Default building facing degrees
                      • Unit - Create 2 NEUTRAL_CREEPS[2] for Neutral Hostile at Creep01_Point facing Default building facing degrees
                      • Custom script: call RemoveLocation(udg_Creep01_Point)
                    • Else - Actions
      • -------- -------------------------------------------------------- --------
      • For each (Integer A) from 3 to 4, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Number of units in (Units in NEUTRAL_REGION_2[(Integer A)])) Equal to 0
            • Then - Actions
              • Unit - Create 1 NEUTRAL_CREEPS[3] for Neutral Hostile at (Center of NEUTRAL_REGION_2[(Integer A)]) facing Default building facing degrees
            • Else - Actions
  • Creep CLEAN UP
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Not equal to True
    • Actions
      • Wait 2.50 game-time seconds
      • For each (Integer A) from 1 to 5, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Unit-type of (Triggering unit)) Equal to NEUTRAL_CREEPS[(Integer A)]
            • Then - Actions
              • Unit - Remove (Triggering unit) from the game
            • Else - Actions
:">

(I copy-pasted this on the other post!)
 
Status
Not open for further replies.
Top