• Teleport problem
    1 replies, posted
I need help with a hook/function to go with a new map i'm working on because I have discovered that, while the trigger_teleport can support keeping angles and offsets, they do not preserve velocity. As far as I know there is no mapping way to fix this problem. So I'm trying to write a lua function to hook the teleports on the map and preserve the velocity of the object or player that goes through it. So far I can get the trigger_teleport entities, but I'm at a loss for a way to do a function that activates when something is about to be teleported. Any help is appreciated, thank you. EDIT: Well if nothing like this exists, I wonder how hard it would be to add?
I've had an Idea, does anyone know how reliable ENT:StartTouch() is and if I Add this on trigger_teleport entities will they still work? I think i'm gonna try it, but any help / input is appreciated. EDIT: Can't seem to get StartTouch() to fire after tying it to the trigger_teleport entities. Any ideas at this point would be great.
Sorry, you need to Log In to post a reply to this thread.