- Joined
- Jul 5, 2010
- Messages
- 46
- Reaction score
- 15
Okay, I'm not very experienced in Java, so I needed a way to script an event for my Maplestory server..
The only thing I really need help is with a function (randomizeRopes()
to do this:
Assign a number from 1-14 for 14 different variables, but each variable must have a different value.
So , when I do randomizeRopes, what would happen is
var1 = 13
var2 = 11
var3 = 4
var4 = 3
var5 = 9
...You get the point.
Thing is, the only thing I know is Math.floor(Math.random * 13 + 1) thing.
So..?
Any help would be appreciated.
The only thing I really need help is with a function (randomizeRopes()
to do this:
Assign a number from 1-14 for 14 different variables, but each variable must have a different value.
So , when I do randomizeRopes, what would happen is
var1 = 13
var2 = 11
var3 = 4
var4 = 3
var5 = 9
...You get the point.
Thing is, the only thing I know is Math.floor(Math.random * 13 + 1) thing.
So..?
Any help would be appreciated.
Last edited:

