Main Menu

[RESOLVED] is there a way to make a chance of an event happeining or not?

Started by clakes707, April 21, 2007, 07:29:21 PM

0 Members and 1 Guest are viewing this topic.

clakes707

Here is what I want: The player can fish at a lake, and when he does, there is a 50/50 chance of catching a fish. How would I do this? I would like it if there was as little script as possible, but if there is, then explain it step by step, including how I would implement it into my game. Thanks for your help! ;D

ChaosSpartan28

Here you go. This is a function I was planning on implementing in my game.

http://home.comcast.net/~dcwikman/fishing/index.html

Follow all the instructions on that site as directed.
Sig by MacGravel

clakes707

i went to the site, but I am stuck. The very first direction, Step One, is confusing me. Please help!

ChaosSpartan28

On the left side is has like a mini tool bar. There is a section that has Bold print that says Scripts to change. Meaning in the original scripts you must find what is marked on the website and add it to the original script.

A simple copy and paste into the script where it tells you to put it.
Sig by MacGravel

modern algebra

You could also use variables to do it. You can make it random and then use con. branches.