1
2
ID:175878
Mar 1 2003, 8:37 pm
|
|
Is it possible to make a warp like in Earth and Beyond where if you select a target then if you click warp you move REALLY fast to it. If this is possible in byond how could i do this or what should i look up?
|
In response to Zlegend2
|
|
thats teleporting, i want something that makes you move really fast and you can edit the speed
|
In response to Koolguy900095
|
|
Oh, u want to teleport when u click a spot to teleport to?
|
In response to Zlegend2
|
|
no i dont want to teleport the topic is Warping not teleporting...i want it so when you choose a target you move REALLY fast to it
|
In response to Zlegend2
|
|
Zlegend2 wrote:
Oh, u want to teleport when u click a spot to teleport to? No, he wants to move there quickly but not instantaneously. Lummox JR |
In response to Koolguy900095
|
|
exactly, click and it will move u there?
|
In response to Zlegend2
|
|
yes but faster than the normal speed and where you can edit how much faster it goes than normal
|
In response to Koolguy900095
|
|
the default speed is pretty much the fastest u can go.
|
In response to Zlegend2
|
|
oh
|
In response to Koolguy900095
|
|
How could i make it so that if you click auto pilot and enter the coords that it goes around things with a density of 1?
|
In response to Koolguy900095
|
|
It would make common sense that your air craft already has a density of 0, if so it will pass over any object.
|
In response to Zlegend2
|
|
what about like planets? you cant fly through planets
|
In response to Koolguy900095
|
|
everything.
|
In response to Zlegend2
|
|
Do you know how to make it so you fly around things with a density of 1?
|
In response to Koolguy900095
|
|
umm... ok, now why do u need that when you are instantly gonna be there?
|
In response to Zlegend2
|
|
becuz im changing the code so u walk_to the coords
|
In response to Koolguy900095
|
|
Oh, so you just want to use walk_to, but really really fast?
|
In response to Zlegend2
|
|
yes and so it goes around things with density of 1
|
In response to Koolguy900095
|
|
it will automaticly do that.
|
1
2
mob/var/coordinanceY
mob/var/coordinanceX
mob/var/coordinanceZ
mob/verb/teleport()
coordinanceX = input("X coordinant?") as num|null
coordinanceY = input("Y coordinant?") as num|null
coordinanceZ = input("Z coordinant?") as num|null
src.loc = (locate(coordinanceX,coordinanceY,coordinanceZ))
return..()
I compiled that code and it works. I made it just for u.