Teleport help

Need help for teleport destinations

By LoStIt 3 years ago

Hello,

i wanted to know how you make a teleport that way that if 2 players get in the teleport at the same time, they don't get stuck in eachother when they reach the teleport destination...

PLEASE HELP!!!

6 posts 386 views
  • You must be a member

Replies

  • EKAH's Levels
    • P3: Peasant
      Points: 19,178
    • E1: Helper
      EF: 4
    • C1: Member
    • A6: Elder
      Account Age: 6 years
    Posted 3 years ago

    make a "push" on the exit. but it's hard to avoid 100%

    User Title
    No-one dies a virgin, life scr
  • LoStIt's Levels
    • P1: Beggar
      Points: 13
    • C1: Member
    • A4: Graduate
      Account Age: 3 years
    Posted 3 years ago

    Is that all i can do, because i wanted to make a multigame...

    SourceLoStIt
  • Exfridos's Levels
    • C1: Member
    • A5: Veteran
      Account Age: 6 years
    Posted 3 years ago

    You could install Zblock. You could use a trigger_push You could make many teleports. (Like if you have one big, than split it up to more, and than each teleport goes to a diffrent pos.)

    Or if you know eventscript; it's possible to make a script, that makes one ghost, if two persons are in each other. But scripting is the hard method.

    Exi
  • Chrazini's Levels
    • P3: Peasant
      Points: 7,554
    • C1: Member
    • A6: Elder
      Account Age: 6 years
    Posted 3 years ago

    Triggerpush is a good solution for that. If you surround the teleport destination with triggerpush, the player will be pushed away from the destination before the other player touches it. But don't forget to create some water around the destination too.

    You can also create two teleporters. One starts activated, and the other one starts desabled. And when you use them, they will simply toggle.

    User Title
    Making Prefabs!
  • Logan Dougall's Levels
    • P5: Peddler
      Points: 143,344
    • E6: Authority
      EF: 223
    • C5: Admin
    • A6: Elder
      Account Age: 7 years
    Posted 3 years ago

    Why not just make use of info_landmarks. Players will teleport to the new location with the same distance/position to the landmark. So unless two people start off inside each other they will teleport to the new location in the same respective places to the landmarks.

    I used that trick to make an endless hallway :P

    EDITx2: Here's the page about landmarks.

    !MOVING! Contact another Admin
  • LoStIt's Levels
    • P1: Beggar
      Points: 13
    • C1: Member
    • A4: Graduate
      Account Age: 3 years
    Posted 3 years ago

    @ Chrazini:

    My teleports are at spawn so if that one teleport is activated, the players will immediatly be teleported? Because i don't want that :P

    SourceLoStIt
  • You must be a member