ID:163439
Aug 27 2007, 2:04 pm
|
|
How would I make a code that gives a chance of a player being created with something, like a rare race? Then if that is to happen, I would like to give them a special icon for their race, how would I do that?
|
Aug 27 2007, 2:19 pm
|
|
Looking up prob by pressing F1 in DM or in reference
|
In response to Monkeykid0049
|
|
I see. But could you provide me with an example?
|
In response to OneWingedDemon
|
|
No cuz I don't know how to use it either =P I was hoping you'd be able to figure it out since I'm pretty bad at programming. Here's an example of how I make random stuff....
mob It gives you a 10% chance of getting a rare race but it's a terrible way how to do it so I don't really suggest using it... |
In response to Monkeykid0049
|
|
Or you can do this:
if(prob(10))
if(prob(% chance of happening)) |
In response to GhostAnime
|
|
Yeah I was trying to figure that out..... so yeah...use what GhostAnime provided and not mine =D
|
In response to Monkeykid0049
|
|
Thanks alot!
|