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

How make every 60 second random natural creep like dota?

Status
Not open for further replies.

xiaomo09

X

xiaomo09

How make every 60 second random natural creep like dota?:vw_wtf:some one help me plz ~:vw_sad:
 
  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set creepType[1] = Footman
      • Set creepType[2] = Knight
      • Set creepType[3] = Rifleman
      • Set creepType[4] = Mortar Team
      • Set creepType[5] = Spell Breaker
  • Create Units
    • Events
      • Time - Every 60.00 seconds of game time
    • Conditions
    • Actions
      • Set tempLoc = (Center of {Region})
      • Unit - Create 1 creepType[(Random integer number between 1 and 5)] for {Player} at tempLoc facing 0.00 degrees
      • Custom script: call RemoveLocation(udg_tempLoc)
Something like that is what you asked (every 60 seconds a random creep from a list you previously set up).

Variables:
Unit-type array "creepType"
Point "tempLoc"
 
Status
Not open for further replies.
Back
Top