I got a script from a post that was started by 'gubbyBlips', Smallg, and Amen Moses about a grappling gun. I just took that and added to it for my needs. I've made it into a UT99 translocater and it works just like it.
1-LMB throws it
2-RMB travels to it
3-Scrollwheel hides it and shows it. I did this so that you can hold 2 items with only one being usable and only the visible one functions.
4-'E' hides it and picks up another so that only one is visible at a time therefore only one works
5-'R' drops the hidden object then shows it on the ground. It can be pick-up again
here is the script
I use either a 'proximty mine or a landmine for this as it's a disc like the transloc.
The problem lies in the 'goto' part of it. Being from a 'grapplinghook' script it wants to pull you to it as soon as it hits something which is fine for the hook. I can evade this by inserting 'g_MouseClick==2' before or after the 'setfreezeposition'. This way it won't pull you until you press RMB. What's happening though is that it sticks to everything, walls, terrain, upside down platforms, etc.... I want it to only 'stick' to the terrain or the 'topside' of a flat object. All else it should fall from or bounce off of. This works fine for UT99 but that old Unrealscript is difficult to read to find out where that's being conveyed, or how. If someone could tell me how to do this it would be greatly appreciated.
here is the downloadable script