• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

How to spawn random items in random points in region

Status
Not open for further replies.
Level 4
Joined
Jun 2, 2012
Messages
747
Hello hivers. I am here to ask a question. How do I spawn random items in random points in region. Like randomly, it will spawn a health orb on random points in region 1. This triggers are mostly used in boss fights.... healing orbs spawning....How do I do that? I guesss ive made my point here...
 
  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Item[1] = Claws of Attack
      • Set Item[2] = Orb of Fire
      • Set Item[3] = Ring of Protection
  • Spawn
    • Events
      • Time - Every 10.00 seconds of game time
    • Conditions
    • Actions
      • Set Integer = (Random integer number between 1 and 3)
      • Set Point = (Random point in (Playable map area))
      • Item - Create Item[Integer] at Point
      • Custom script: call RemoveLocation (udg_Point)
 
  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Item[1] = Claws of Attack
      • Set Item[2] = Orb of Fire
      • Set Item[3] = Ring of Protection
  • Spawn
    • Events
      • Time - Every 10.00 seconds of game time
    • Conditions
    • Actions
      • Set Integer = (Random integer number between 1 and 3)
      • Set Point = (Random point in (Playable map area))
      • Item - Create Item[Integer] at Point
      • Custom script: call RemoveLocation (udg_Point)

Exactly! That's what Im lookin for... well that what I did but I have many mistakes..... yours is correct! THANKS! +REP!!
 
Status
Not open for further replies.
Back
Top