Zeklo Posted September 26, 2016 Share Posted September 26, 2016 As the title says. I wanna link two teleporters together—a new prefab. Link to comment https://forums.kleientertainment.com/forums/topic/70468-how-to-link-two-teleporters/ Share on other sites More sharing options...
Serpens Posted September 28, 2016 Share Posted September 28, 2016 it really depends what your teleporter is. Is this a complete new thing you made? Then it is up to you how to connect them. You can implement any way you want. To help you more, I would need more information. Link to comment https://forums.kleientertainment.com/forums/topic/70468-how-to-link-two-teleporters/#findComment-819735 Share on other sites More sharing options...
Zeklo Posted September 29, 2016 Author Share Posted September 29, 2016 Yeah this is a completely new object. I just can't seem to locate what makes teleports link to one another. Link to comment https://forums.kleientertainment.com/forums/topic/70468-how-to-link-two-teleporters/#findComment-819875 Share on other sites More sharing options...
Serpens Posted September 29, 2016 Share Posted September 29, 2016 (edited) "link them" just sounds like you expect a function like "Link(teleteporterA,teleporterB)", but as far as I know such a function does not exist. So you have to code it yourself. And since you made a new objext on your own, I wonder why you are not able to also make such functions on your own. That's why I asked for more information. I have no clue what you already have, what you know about coding and why don't you use obvious solutions like just calling "SetPosition" to set the character to a position near the other teleporter. edit: you could look at the component from this mod, there you see how you could do the teleportation itself:http://steamcommunity.com/sharedfiles/filedetails/?id=350811795 Edited September 29, 2016 by Serpens Link to comment https://forums.kleientertainment.com/forums/topic/70468-how-to-link-two-teleporters/#findComment-819887 Share on other sites More sharing options...
Zeklo Posted October 9, 2016 Author Share Posted October 9, 2016 I completely got side tracked from this. I'll take a look at it. I'm pretty inexperienced, so I basically try and see what makes what function, but in this scenario I was stumped. Anyway, I'll have a look at the link. Link to comment https://forums.kleientertainment.com/forums/topic/70468-how-to-link-two-teleporters/#findComment-823430 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now