Linked Random Numbers to Continue

Talk about making games.

Linked Random Numbers to Continue

Postby Namira » Sat Jun 17, 2006 6:00 pm

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!
Namira
 
Posts: 1
Joined: Sat Jun 17, 2006 5:51 pm
Score: 0 Give a positive score

Postby pavel329 » Sat Jun 17, 2006 7:45 pm

uuuuhhhhhh........*starts to drool* :? :? :? :? :?
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby Game A Gogo » Sat Jun 17, 2006 9:30 pm

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);
}
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest