Drop an item after destroy.

JlmCJlmC Member Posts: 129
edited November -1 in Working with GS (Mac)
However, Not always.

How can i make a drop "system"? I mean, i just want it to drop it with a chance of 20%

Thanks

Comments

  • JlmCJlmC Member Posts: 129
    Bump!
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    when the player is destroyed generate a random number between 0 and 100, if it's less than 20, drop the item?
  • JlmCJlmC Member Posts: 129
    How do i generate a random number?

    Nevermind, i already got it!

    thank you
Sign In or Register to comment.