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

item drop system

Status
Not open for further replies.
You can use pretty simple commands for this:

Event:
- A Unit dies
Condition:
- Dying unit owned by Player 12 (=which will be NPC)
Action:
- random number between 1 and 100
-> if random number is less or equal than X (x= enter your percent number, the item could be dropped: using 10 will give the item a 10% chance to get dropped)
-> then create Item XY at position of dying Unit
-> else do nothing
 
Level 24
Joined
Jul 9, 2009
Messages
4,097
Are you sure you are using player 12 units and not for example neutral hostile units?
 
Level 24
Joined
Jul 9, 2009
Messages
4,097
Hmm link the trigger of an unit it dosent work on and I´ll see if I can figure it out
 
ill post dungeon one and dungeon 2 so you can see if i missed something also i will fix all leaks later i just want it to work first
EDIT: dungeon 1 works btw
  • Drop 1
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Boss
    • Actions
      • Set ItemDropUnit[1] = (Units in Spider Dungen Level 3 2 <gen> owned by Player 1 (Red))
      • Set ItemDropUnit[2] = (Units in Spider Dungen Level 3 2 <gen> owned by Player 2 (Blue))
      • Set ItemDropUnit[3] = (Units in Spider Dungen Level 3 2 <gen> owned by Player 3 (Teal))
      • Set ItemDropUnit[4] = (Units in Spider Dungen Level 3 2 <gen> owned by Player 4 (Purple))
      • Set ItemDropUnit[5] = (Units in Spider Dungen Level 3 2 <gen> owned by Player 5 (Yellow))
      • Set ItemDropUnit[6] = (Units in Spider Dungen Level 3 2 <gen> owned by Player 6 (Orange))
      • Set ItemDropUnit[7] = (Units in Spider Dungen Level 3 2 <gen> owned by Player 7 (Green))
      • Set ItemDropUnit[8] = (Units in Spider Dungen Level 3 2 <gen> owned by Player 8 (Pink))
      • Set ItemDropUnit[9] = (Units in Spider Dungen Level 3 2 <gen> owned by Player 9 (Gray))
      • Set ItemDropUnit[10] = (Units in Spider Dungen Level 3 2 <gen> owned by Player 10 (Light Blue))
      • Unit Group - Pick every unit in ItemDropUnit[1] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P1 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P1 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P1 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P1 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[2] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P2 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P2 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P2 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P2 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[3] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P3 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P3 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P3 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P3 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[4] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P4 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P4 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P4 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P4 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[5] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P5 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P5 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P5 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P5 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[6] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P6 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P6 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P6 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P6 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[7] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P7 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P7 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P7 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P7 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[8] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P8 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P8 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P8 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P8 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[9] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P9 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P9 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P9 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P9 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[10] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P10 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P10 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P10 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P10 Item Drop <gen>)
                • Else - Actions
  • Drop 2
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Boss (Khan)
    • Actions
      • Set ItemDropUnit[1] = (Units in Mountin Dungen Level 2 <gen> owned by Player 1 (Red))
      • Set ItemDropUnit[2] = (Units in Mountin Dungen Level 2 <gen> owned by Player 2 (Blue))
      • Set ItemDropUnit[3] = (Units in Mountin Dungen Level 2 <gen> owned by Player 3 (Teal))
      • Set ItemDropUnit[4] = (Units in Mountin Dungen Level 2 <gen> owned by Player 4 (Purple))
      • Set ItemDropUnit[5] = (Units in Mountin Dungen Level 2 <gen> owned by Player 5 (Yellow))
      • Set ItemDropUnit[6] = (Units in Mountin Dungen Level 2 <gen> owned by Player 6 (Orange))
      • Set ItemDropUnit[7] = (Units in Mountin Dungen Level 2 <gen> owned by Player 7 (Green))
      • Set ItemDropUnit[8] = (Units in Mountin Dungen Level 2 <gen> owned by Player 8 (Pink))
      • Set ItemDropUnit[9] = (Units in Mountin Dungen Level 2 <gen> owned by Player 9 (Gray))
      • Set ItemDropUnit[10] = (Units in Mountin Dungen Level 2 <gen> owned by Player 10 (Light Blue))
      • Unit Group - Pick every unit in ItemDropUnit[1] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P1 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 4 item-type) at (Center of P1 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 5 item-type) at (Center of P1 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 6 item-type) at (Center of P1 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[2] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P2 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 4 item-type) at (Center of P2 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 5 item-type) at (Center of P2 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 6 item-type) at (Center of P2 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[3] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P3 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P3 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P3 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P3 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[4] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P4 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P4 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P4 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P4 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[5] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P5 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P5 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P5 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P5 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[6] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P6 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P6 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P6 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P6 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[7] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P7 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P7 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P7 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P7 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[8] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P8 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P8 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P8 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P8 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[9] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P9 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P9 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P9 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P9 Item Drop <gen>)
                • Else - Actions
      • Unit Group - Pick every unit in ItemDropUnit[10] and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of P10 Item Drop <gen>)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 15) Less than or equal to 10
        • Then - Actions
          • Item - Create (Random level 0 item-type) at (Center of P10 Item Drop <gen>)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 15 and 16) Equal to 16
            • Then - Actions
              • Item - Create (Random level 1 item-type) at (Center of P10 Item Drop <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 21 and 21) Equal to 21
                • Then - Actions
                  • Item - Create (Random level 2 item-type) at (Center of P10 Item Drop <gen>)
                • Else - Actions
 
some random numbers are unnecessary, like "random number between 21 and 21" just remove this and create the item immediately. Besides of that, add a text info to the tigger like "Items given" and see InGame if this text field comes up.. if so the trigger works, if not the trigger not even starts.. so you have to change the conditions a bit to make it work.
I think the groups are also unneeded :p
 
Hmm they seem to be exactly the same
they are the same apart from the unit killed and the item level
the groups are for moving all units owned by the player because of if they have summons they could just stay and kill boss again
EDIT FIXED this is probly the worst brain fail ever i forgot to include the items as random
 
Status
Not open for further replies.
Top