Items
Moderator: Cheaters
-
- Member
- Posts: 86
- Joined: April 7th, 2007, 2:39 am
Items
how do you make a trigger that makes a creep drop a certain item with a percent chance? its an orpg so the creeps respawn, so if you use an itemtable..only the orig creep will drop the item..wich sucks
WhiteSkidMaul Wars
~Now Gone Superspeed!~
-
- Junior Member
- Posts: 41
- Joined: June 3rd, 2007, 7:03 pm
-
- Forum Spammer
- Posts: 635
- Joined: May 29th, 2007, 9:02 am
- Title: Strange old man
- Location: London, England
Re: Items
I did it with sir-tanks Orpg but i had to make a new trigger for each unit as i wanted different drop rates for each one lol
Sir-Tanks is BACK and working on his new map Acts of War!
Take the best Stupidity test here
Take the best Stupidity test here
-
- Forum Staff
- Posts: 926
- Joined: June 3rd, 2007, 8:03 pm
Re: Items
You needn't have made a new trig for each one you coulda just assigned diff amount of integers to each item. for instance do random 2,101 and set tome of str for 5-10 and set tome of int for 8-20. This way you can even have 2 items dropping at same time. XD
-
- Member
- Posts: 86
- Joined: April 7th, 2007, 2:39 am
Re: Items
nvm, i figured it out, and no, item tables dont work with units that respawn, it works on that original unit but thats it...and i figured out what i did wrong, i had it so it spawned the item a random amount of times lolz.
WhiteSkidMaul Wars
~Now Gone Superspeed!~
-
- Senior Member
- Posts: 101
- Joined: June 1st, 2007, 9:05 pm
Re: Items
There are so many easier ways to do this with Jass, so that you just set a value at map init based on a unit type, and then call the function when a unit dies (but since this is GUI :X)