jump.tf Forums
Welcome B)

Time delayed teleport

Trude

  • Newbie
  • *
    • Posts: 35
    • Frags: +0/-0
  • Who invited this guy?
    • View Profile
A few maps (their names escape me right now) place teleports on speedshot platforms that are delayed by a half second. I've yet to find any information on how to achieve this.


RNC1839

  • Proficient
  • ****
    • Posts: 499
    • Frags: +0/-0
    • View Profile
You need 2 triggers. Both should be 1 unit high and the same size.

trigger_teleport:
start disabled
name it something

trigger_multiple:
onStartTouch enable [teleport] after delay .5
onEndTouch disable [teleport]


Trude

  • Newbie
  • *
    • Posts: 35
    • Frags: +0/-0
  • Who invited this guy?
    • View Profile
Something like this? Both are tagged for clients but they're not working.


Trude

  • Newbie
  • *
    • Posts: 35
    • Frags: +0/-0
  • Who invited this guy?
    • View Profile
Durr. Forget that, I forgot to give the teleport a destination.
I'm leaving that post as an example to other people because it's set up properly.

New problem: colliding with the triggers at any significant velocity seems to break the multiple trigger, causing the teleport to activate immediately.

By transferring the duty of resetting the teleport's state to the teleport itself, it improves the consistency of the delay. It still teleports immediately about 20% of the attempts.

Might have found another solution without needing the teleport. I would still appreciate a way of getting 100% consistency for future reference if anyone could help.
« Last Edit: January 29, 2015, 12:12:41 AM by Trude »


Oatmeal

  • Proficient
  • ****
    • Posts: 283
    • Frags: +0/-0
    • View Profile
Can't you just make a trigger multiple a bit bigger than the teleport brush so you hit it first?


Trude

  • Newbie
  • *
    • Posts: 35
    • Frags: +0/-0
  • Who invited this guy?
    • View Profile
I did exaggerate the size of the multiple trigger (1:10 or something like that), no luck.