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

Items: A few questions about creeps and items please!

Status
Not open for further replies.
Level 2
Joined
Apr 10, 2006
Messages
9
hey there,

1. Is there a way to have a % chance for every creep on the map to drop a item set that you've previously made (through gameplay constanst - item tables)

because i want to have it so each time you play diffirent monsters drop items throughout each game

2. Also is there a way to create item drops on a creep that spawns in a region later on in the game, or edit there stats (when a heroe spawns so he's level 10 for example).

Thanks!
 
Level 6
Joined
Feb 18, 2005
Messages
263
it is possible.
i do not know how to do it via trigger (but i can remmber that there is a trigger doing that), but if the unit is already placed on the map, and belongs to neutral enemy, you should be able to set some properties of it (by double click, or select and RETURN). One of these properties should be the item drop thing.
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
u can make item tables by triggers

events: unit dies
conditions: player = ......
actions:
if: random integer between 1 and 100 is X
then: drop .... item
else: if: random integer....... etc etc

and its easy to change stats when u spawn a hero, when u create the hero just set the lvl of last created unit to 10
 
Status
Not open for further replies.
Top