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

I need random item generator plz!

Status
Not open for further replies.
Level 5
Joined
Apr 23, 2009
Messages
65
Try This:
  • Set Items
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Random_Item[1] = Claws of Attack +15
      • Set Random_Item[2] = Crown of Kings +5
      • Set Random_Item[3] = Kelen's Dagger of Escape
      • Set Random_Item[4] = Mask of Death
      • Set Random_Item[5] = Orb of Frost
  • Create item
    • Events
      • Player - Player 1 (Red) types a chat message containing -item as An exact match
    • Conditions
    • Actions
      • Set Random_Number = (Random integer number between 1 and 5)
      • Item - Create Random_Item[Random_Number] at (Center of (Playable map area))
The position where it is created leaks so you should clear that up. Hope this helps.
 
Status
Not open for further replies.
Top