A record is a blueprint for variables that contain other variables. It's similar to arrays, but you can put different types of variables in the record and instead of accessing values by index, you access them by "member" name.
A record alone does nothing. After you have created a record, you have to create a variable and set its type to "- Record". Then you can use this variable to set/get member values.
It's a good way to group variables that belong to the same "sub-system" of your map, and reduces clutter in the list of global variables. Instead of having to scroll through every single global variable, you can use records to group lots of variables by topic.
You can even put records inside other records to create hierarchies.
Hi - just wondering, what's a record and what is it used for?
edit: sorry, meant for trigger board :p
A record is a blueprint for variables that contain other variables. It's similar to arrays, but you can put different types of variables in the record and instead of accessing values by index, you access them by "member" name.
A record alone does nothing. After you have created a record, you have to create a variable and set its type to "- Record". Then you can use this variable to set/get member values.
It's a good way to group variables that belong to the same "sub-system" of your map, and reduces clutter in the list of global variables. Instead of having to scroll through every single global variable, you can use records to group lots of variables by topic.
You can even put records inside other records to create hierarchies.
There is a tutorial on using them in the tutorials forum.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg