Game Development Community

how to design Map Triggers that send you to another world

by Anonymous · in General Discussion · 06/23/2011 (12:01 pm) · 3 replies

fellas,how to design Map Triggers that send you to another world?
once you characters pass through it,you achieve a new world.
it looks like Dark Portal in World Of Warcraft.

About the author

better game,better life

Recent Threads

  • why it doesn't work?

  • #1
    06/23/2011 (1:04 pm)
    Your just making a Level trigger right?
    #2
    06/23/2011 (2:13 pm)
    function DefaultTrigger::onEnterTrigger(%this,%trigger,%obj){

    disconnect();
    createServer("SinglePlayer","levels/Empty Terrain.mis");
    %conn = new GameConnection(ServerConnection);
    RootGroup.add(ServerConnection);
    %conn.setConnectArgs("Player");
    %conn.setJoinPassword("None");
    %conn.connectLocal();
    }

    it doesn't work,just crash my computer.
    #3
    06/23/2011 (2:20 pm)
    yes ,but get a big trouble.