PDA

View Full Version : using get to values from an array


ttl
18th Apr 2004, 12:30 AM
Is there anyway to use the get console command, to get a certain element in an array?

eg.

"get engine.input aliases" will only return the first element in the array, I cannot seem to figure out the current syntax to get any other element. I have tried:

"get engine.input aliases[2]"
"get engine.input aliases(2)"
"get engine.input aliases 2"
"get engine.input "aliases 2""

none of which seem to work, the 3rd one returns first element.

Any help guys?