Code://
// Teleport Trigger by Gerson, for MBDK
// MERRY CHRISTMAS 2011 & HAPPY NEW YEAR 2012!
//
datablock triggerData(TeleportTrigger) {
tickPeriodMS = 100;
};
datablock triggerData(LocationTrigger) {
tickPeriodMs = 100;
};
function TeleportTrigger::onEnterTrigger(%this,%trigger,%obj) {
%location = %trigger.location;
%position= nameToId(%location);
    if(%trigger.location $= ){
    messageclient(%obj.client, '', '\c0No speciefied location in this trigger!');
    return;
    }
    if(isObject(%position)) {
    %x = getWord(%location.getTransform(), 0);
        %y = getWord(%location.getTransform(), 1);
        %z = getWord(%location.getTransform(), 2);
        %a1 = getword(%location.getTransform(), 3);
        %a2 = getword(%location.getTransform(), 4);
        %a3 = getword(%location.getTransform(), 5);
        %a4 = getword(%location.getTransform(), 6);
        %rot = %a1 SPC %a2 SPC %a3 SPC %a4;
        %destination = %x SPC %y SPC %z SPC %rot;
    }
%obj.setTransform(%destination);
}
I hope you enjoyed!
P.S Marble Fade effects will be added if Jeff want to code MBAdventure after elite demo is released. If else, just wait until Jeff give the gift...
I'm just an ordinary marble blaster who like to create new and unusual things.
Creator of the Marble Blast GLC series
Check out and download my custom levels here .
Check out my original musics in this thread and in my soundcloud here .