Blockland Forums > Modification Help
Player Launching
Tom:
Look at the hookshot, it does that.
Cca:
Hookshot does do that, but i want to throw my guy in the direction i am looking at with a key bind
--- Quote from: Devvy on July 12, 2010, 01:15:16 AM ---He basically wants it so when he presses a certain key, it will activate a code similar to clickpush, and launch him through the map like a catapult.
--- End quote ---
Yes
--- Quote from: darerd on July 12, 2010, 05:32:16 PM ---But does he want to make it so you go to the exact place you were looking at, like if you actually typed /warp, but with velocity?
--- End quote ---
yes x2
I only just learned how to make slash commands, and how to edit functions in a script, so i need help with this
Cca:
--- Quote from: Deriboy on July 17, 2010, 01:13:41 PM ---You'd have to determine the relative height and distance and then use some clever math to come up with velocities.
But I can't help you with that.
--- End quote ---
i dont want it to put me in that exact spot, i just want to be shot in that direction
Éagen:
If you did use velocity you could have the problem of getting killed from the landing, but I am new to scripting as well, I know just about the same as you. But unless you turned off falling damage, then that could be a problem.
Cca:
i dont mind the falling damage, id just like the script