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

respwan item table

Status
Not open for further replies.
You can also use itempools if you want : Itempools Guide

  • Neutral Hostile Drop Item
    • Events
      • Unit - A unit owned by Neutral Hostile Dies
    • Conditions
    • Actions
      • -------- Set Variables --------
      • Custom script: local unit u = GetDyingUnit()
      • Custom script: local real ux = GetUnitX(u)
      • Custom script: local real uy = GetUnitY(u)
      • -------- Create Itempool --------
      • Custom script: local itempool ip = CreateItemPool()
      • Custom script: call ItemPoolAddItemType(ip, 'phea', 1) // Potion of Healing -- Drop Chance: 20%
      • Custom script: call ItemPoolAddItemType(ip, 'pman', 2) // Potion of Mana -- Drop Chance: 40%
      • Custom script: call ItemPoolAddItemType(ip, 'none', 2) // Nothing -- Drop Chance: 40%
      • -------- Place Itempool --------
      • Custom script: call PlaceRandomItem(ip,ux,uy)
      • -------- Destroy Itempool --------
      • Custom script: call DestroyItemPool(ip)
      • -------- Reset Variables --------
      • Custom script: set ip = null
      • Custom script: set u = null
 
Last edited:
Status
Not open for further replies.
Back
Top