You can read and reply to posts and download all mods without registering.
We're an independent and non-profit fan-site. Find out more about us here.
// return all concrete descendants of the requested archetype function getConcretes(archetype) { local obj, lnk; local objList = []; foreach (lnk in Link.GetAll("~MetaProp", archetype)) { obj = LinkDest(lnk); if (obj < 0) { objList.extend(getConcretes(obj)); } else { objList.push(obj); } } return objList; }