Author Topic: How to delay setPlayerTransform?  (Read 946 times)

I'm using it for a time travel machine prop in a movie im working on, i want it to delay 3 seconds before the person is teleported but it wont input the delay properly and just teleports instantly.

onActivate > namedBrick > setPlayerTransform, then just put 3000 in the first box

3000 being 3,000 milliseconds, or 3 seconds

If that isn't working, set it to fire a relay after three seconds, and then have it teleport you.

if you're putting 3 in the delay box, then you're actually putting .003 seconds which is almost instant. you want to put 3000

Isnt that box in ticks?
Anyway 1000 "ticks" or whatever is 1 second iirc.
And you can have a maximum of 30 seconds, or 30K ticks iirc
Damn, I havent played in ages

Isnt that box in ticks?
Anyway 1000 "ticks" or whatever is 1 second iirc.
And you can have a maximum of 30 seconds, or 30K ticks iirc
Damn, I havent played in ages
1 tick = 1msec

Don't forget to use setEventEnabled. This helps disable the events for a temporary amount of time.

I've noticed that BL isn't correctly synced, too. A .ogg loop or sound that I've made to be, for example, 4 seconds, isn't synced with an event with 4000 delay.

I've noticed that BL isn't correctly synced, too. A .ogg loop or sound that I've made to be, for example, 4 seconds, isn't synced with an event with 4000 delay.
Lag makes things come out of sync, there is also a 33ms offset for some reason. It's the same in Garry's Mod as well (if you're using E2 from wiremod)

I've noticed that BL isn't correctly synced, too. A .ogg loop or sound that I've made to be, for example, 4 seconds, isn't synced with an event with 4000 delay.
I'm pretty sure BL has weird timing issues with sounds. I tried to make a music system once with an intro .ogg and looping .ogg and had to change the intro-to-loop delay from what it was in my audio software.

From what I have been hearing, torque thinks 1033 milliseconds is 1 second (1000 milliseconds), so if you're wondering why something is off, that's your answer. Correct me if I'm wrong.