partyghoul2000
Intermediate Game Designer
- 175
- Posts
- 19
- Years
- Age 37
- USA
- Seen Jun 24, 2014
Use this script in an event :
Code:i=rand(4) Kernel.pbReceiveItem(3) if i==0 Kernel.pbReceiveItem(15) if i==1 Kernel.pbReceiveItem(288) if i==2 Kernel.pbReceiveItem(341) if i==3
I've not tested it, but it should work.
it works perfectly. :D thanks. would it be possible to add probability to it? for example item 3, 50%. item 15, 10%. item 288, 30%. item 341, 10%. if it can't be done, i can do without it.
thanks in advance.
*EDIT*
would it be possible to give a random item from 100 different items? the script only allows 10 different items. is it possible to extend the script length?
Last edited: