[GUIDE] How to Teleport players relative to their position.

Discussion in 'Tutorials & Resources' started by TwashMan, Sep 17, 2016.

  1. TwashMan

    TwashMan L1: Registered

    Messages:
    37
    Positive Ratings:
    13
    To be able to follow this tutorial you will need to know how to make a teleport.

    Here is a simple teleport setup. One trigger_teleport and one info_teleport_destiantion.

    [​IMG]


    Step 1.
    Create an entity in the middle of the trigger_teleport and center it.

    [​IMG]


    Step 2.
    Select the entity and turn it into a info_landmark. Name it whatever you want. But i named mine TeleMark

    [​IMG]


    Step 3.
    Center the landmark in the middle of the trigger_teleport and inside of the floor like this

    [​IMG]


    Step 4.
    Set the "Local Destination Landmark" Property in the trigger_teleport to the name of your info landmark.

    [​IMG]

    Step 5.
    Cover up any holes in your level and it should be done.

    [​IMG]

    Note: Try to place the teleports on the x or z axis and not the y axis. The screen jidders a little if you do so.
     
    • Thanks Thanks x 2
    • Like Like x 2
  2. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    834
    Alternatively, name the trigger_teleport and specify it as the landmark entity, saving the need for another info_teleport_destination. Make sure the origin of the trigger_teleport and the destination entity you use are at the same height.
     
    • Thanks Thanks x 1
    • Like Like x 1
  3. The Letter Before A

    The Letter Before A Cool Idiot

    Messages:
    300
    Positive Ratings:
    119
    good work