Here you will find a list of functions I commonly use in my map scripts.
function softRemove(lookup: rm.LOOKUP, id: Array<string>){ id.forEach((env) =>{ const sR = new rm.Environment(env, lookup); sR.position = [-69420,-69420,-69420]; sR.push(); }) };
function hardRemove(lookup: rm.LOOKUP, id: Array<string>){ id.forEach((env) =>{ const hR = new rm.Environment(env, lookup); hR.active = false; hR.push(); }) };
There was an error while loading. Please reload this page.