| 02-09-2004, 10:11 PM | #1 |
how do i make a item give u random items? |
| 02-09-2004, 10:29 PM | #2 |
What exactly do you mean? Do you want a item that can be used to create a new item of random type? |
| 02-09-2004, 11:02 PM | #3 |
u have a item called random random gives u some items by random like arch of rencarnation 10% of getting it . orb of frost 50 % of getting it something like that kinda like item droped by unit but as a item |
| 02-09-2004, 11:46 PM | #4 |
Could you be more specific about what you are looking for. Do you want an item that turns into a random item when you pick it up, do you want a item that Summons a random item onto the ground, do you want an item that when used does a random items effect, what? |
| 02-10-2004, 12:22 AM | #5 |
u buy it the random item and u get a item by random |
| 02-10-2004, 01:34 AM | #6 |
you mean like Gamble in the latest version of angel arena? easy. You buy a MERCENARY from shop *yes mercenary, not item, yes this means a unit, its needed for triggers* u make it have full transparency somehow, so that it is invisible when it is purchased. then a trigger says *a unit equal to unit type RANDOM enters region "wherever (make it whole map)" and it kills the unit instantly. you set the item drop set of the unit to a certain number of items so that when it dies, it drops one randomly. and remove any blood effects from the unit also. using this, you get a random item drop that seems really kewl to the untrained eye =D (you might have to variate on this based on your idea, but this seems to me to be a good way to do it) |
| 02-16-2004, 03:02 PM | #7 | ||
could u explain this more clearly Quote:
do u make these triggers? Quote:
how do i do this? |
| 02-16-2004, 03:10 PM | #8 |
have an integer variable called chance Events: Unit acquires an item Conditions: Item type of (item being manipulated) equal to RANDOM set chance=Math-Random number from 0 to 100 Remove( item being manipulated) Wait 0 seconds Add (Random level 1 item) to Triggering Unit |
