Open vm-mar opened 2 months ago
Since ConsoleCommand()
provides a way to access static object's array elements by their index, then it is probably possible to implement it the same way for GetPropertyText()
too?..
Wonder, why original devs didn't do this...
I miss this option a lot...
Currently if you call GetPropertyText("ArrayVar") you will get its first value.
It should be added an option to access its values by using an indexer on the properyName in string. Example: GetPropertyText("ArrayVar[2]") or GetPropertyText("ArrayVar(2)") Maybe also a way to retrieve array lengths: GetPropertyText("ArrayVar.length")