Page 1 of 1

Linked Random Numbers to Continue

PostPosted: Sat Jun 17, 2006 6:00 pm
by Namira
How would you code the following?

if IQ = 17 than add 1 - 6 to IQ
if IQ = 17 than add +3% to all PC skills

Pretty much I need a LOT of random numbers and the ability to link back to the random number like:

if PS = 16 than carrying weight = PS * 10
if carrying weight = PS * 10 than lifting weight = Carrying Weight * 2

Or even more indepth

if IQ, ME = 3 than occupation is available...

)( This whole concept is the base of my game )( AHHHHH!

PostPosted: Sat Jun 17, 2006 7:45 pm
by pavel329
uuuuhhhhhh........*starts to drool* :? :? :? :? :?

PostPosted: Sat Jun 17, 2006 9:30 pm
by Game A Gogo
pavel329 wrote:uuuuhhhhhh........*starts to drool* :? :? :? :? :?

PLease if you dont know anything dont do that... be more mature.

Namira, try using this
Code: Select all
if(IQ==17)
{
Skills*=0.03;
IQ+=rand(6);
}