Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Randomizing objects

Status
Not open for further replies.

spigmike

Technical User
Nov 26, 2005
1
US
I know the string of coding to make an item become random is:INT(RND(a number)*a number)+1
And I know how to use it.
The only thing is that when you put it in the program, it picks the same # first,second so on and so forth everytime you start the game. Is there any way to make it start with a different # everytime you come into the game?
 
Look up 'Randomise'

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 

[blush] Tut, Tut, My British English spelling overcame me. Sorry!

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
[smile]

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top