Note: Although you can create new versions like for example List <dialog item> in galaxy most if not all types are convertible to those 3 basic types. If i'm correct only units are not but for those you have Unit groups already which function same way.
How to use
Lists New - Initialize new List. (global, same names allowed if type is different)
List <T> Add - Extend list and stores new value at new index.
List <T> Set, List <T> Get - Get/Set existing index value.
hey, awesome library, just found a few bugs:
- custom script for functions is wrong, for example For Each Value in List <String> have ForEachIntegerinListInteger22
and in this functions (for each value), better rename all "integer" param to var, cuz i fixed this param name in GUI and then spent like 20 minutes to realise that i should fix custom script code too :>
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
List <T> - Basic 1.0b
Asset page
Description
Library allowing to easily create basic/cheap version of List<T> collection types known from .NET
In essence "Dynamic Arrays"
Note: Although you can create new versions like for example List <dialog item> in galaxy most if not all types are convertible to those 3 basic types. If i'm correct only units are not but for those you have Unit groups already which function same way.
How to use
Installation
Import library
Download
Pretty cool idea; who doesn't love lists? However, this submission is not approved, nice as it is.
It nearly fulfills the new submission format requirements, but falls just short in its layout.
Additionally, I would suggest adding a simple demonstration map to show users its practical applications, but this is not required.
There's a bug in the demo map that causes the first word to be ignored when attempting to get its index; I assume that will be fixed.
Approved.
hey, awesome library, just found a few bugs: - custom script for functions is wrong, for example For Each Value in List <String> have ForEachIntegerinListInteger22 and in this functions (for each value), better rename all "integer" param to var, cuz i fixed this param name in GUI and then spent like 20 minutes to realise that i should fix custom script code too :>