My reasoning:
1. More of these threads dedicated to a specific topic is probably not a bad idea. A lot of people's questions get quickly bumped into obscurity because of all the activity on the thread and it's hard to keep the motivation to dig through many unsorted irrelevant posts in the hopes of possibly finding your answer.
2. A lot of ZScript stuff is subject to change, so advice that ends up in that main thread may become obsolete or counterproductive.
3. One problem I've noticed from the documentation/wiki discussion is that the people who know how to do things don't know what it is that other people don't know. A thread with these questions might help show where people need the most help, or which ZScript features are not well known or or understood by the userbase. (Some people's answers might also reveal widespread misconceptions that may need to be further addressed in the documentation.)
3.1. If the same solutions keep coming up we might add them to the "Standard Library" too.
So I'll start:
How do you set up a custom property so that all descendants can define it like so:
Code: Select all
class Custom2:Custom1{
default{
customproperty "string";
}
}
EDIT: Since this post the answer to this particular question has been well established in the wiki.