![]() |
Also a suggestion: Array enhancement
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. |
Quote:
|
Quote:
|
Quote:
edit: I think fry is correct, it will not work like I describe |
Quote:
EDIT: Well, we just tried it, it doesn't work :) |
Let me check that I've understood properly. If an array operation is performed on a non-array variable, it should be treated as a single-element array?
|
Yea... I do believe that's what he's saying.
|
Quote:
|
Why?
|
For compatibility to old script?
|
| All times are GMT +2. The time now is 07:36 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.