Quote:
|
Originally Posted by Fry
Well, I'd like to see simple variables that contain string or numerical values be accessable by variable[0], so instead of returning 0/nothing, it should return the value of the variable. Same goes for things like array.add(obj).
That might easen things when working with variables that are stored in the player and can be edited manually. So the script won't just stop working when you forget a "," at the end of the value.
|
? i think in gscript2 any variable used like var[0] will return the value of the variable (unless you have commas in there, which it would treat as a seperator between string list items), because it's necessary for compatibility with using string lists like that
edit: I think fry is correct, it will not work like I describe