View Single Post
  #5  
Old 10-26-2011, 10:46 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
So using;
NPC Code:
temp.result = this.array[int(random(0, this.array.size()))];


Is my best bet? Can you explain this to me in further detail please? What does the [int(random(0,this.array.size()))]; bit mean?
__________________
Reply With Quote