Skip to content
nasafrasa edited this page Apr 19, 2024 · 5 revisions

Functions

Here you will find a list of functions I commonly use in my map scripts.

ReMapper 3.1.2

softRemove

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();
    })
};

hardRemove

function hardRemove(lookup: rm.LOOKUP, id: Array<string>){
    id.forEach((env) =>{
        const hR = new rm.Environment(env, lookup);
        hR.active = false;
        hR.push();
    })
};

ReMapper 4.0.0

Clone this wiki locally