• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Item Drops? WTH???

Status
Not open for further replies.
Level 8
Joined
Mar 26, 2009
Messages
301
This will sound stupid (and maybe funny) but I don't remember how I included item drops on death to my map. Yes, I added a global item drop setting now every unit drops their items and I can't find out the how to edit settings.
Checked triggers, object editor (units and items), gameplay constants sections.. I am missing something, it's there somewhere, but WHERE exactly is it? =)
 
Level 16
Joined
Jun 24, 2009
Messages
1,409
example:
  • Drop
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Set Point = (Position of (Dying unit))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Dying unit)) Equal to Bandit
              • (Unit-type of (Dying unit)) Equal to Brigand
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 1 and 1000) Less than or equal to 20
            • Then - Actions
              • Item - Create Item1 at Point
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 1 and 1000) Less than or equal to 20
                • Then - Actions
                  • Item - Create Item2 at Point
                • Else - Actions
                  • Etc...
 
Level 16
Joined
Jun 24, 2009
Messages
1,409
I mean that you should use triggered drop system, and what you are searching for is there:
t7ny47.jpg
 
Status
Not open for further replies.
Top