Thread: Some questions
View Single Post
  #3  
Old 04-30-2011, 11:58 PM
papajchris papajchris is offline
Zeus Condero
papajchris's Avatar
Join Date: Jan 2006
Location: Michigan
Posts: 1,600
papajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to behold
Thanks that link had great examples, final question and i think i got this part understood.

Could you do this

PHP Code:
for player.colors[ BodyParts.index(BodyParts)] = tokens[1]; 
instead of

PHP Code:
for (i: BodyParts) player.colors[ BodyParts.index( i)] = tokens[1]; 
__________________
Reply With Quote