View Single Post
  #4  
Old 05-19-2005, 09:19 PM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
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
__________________


Last edited by Evil_Trunks; 05-19-2005 at 09:31 PM..
Reply With Quote