Hi there im sorry if i open this post in wrong place
I was wondering how to mkae script using userfunction from Rock
i want move my haracter to position a1 and from a1 to a2
and finish script i have coordinates but i have no idea how to set it working
please help
But of course it does nothing at those coordinates. When you start the file it teleports to the first point then the second then ends the script. Or maybe because there are no waypoints it will try to travel to 0,0. I'm not sure.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
How big distance can be from 1st tp to second one i mean i dont want to get wrap
lets say im woring on this for SC
Here is safe place 8I---Here is electric shock--I8 and here is safety place
And i want to make just step ahed and dont get electrick shock
You can usually jump about 120 in 1 jump although the teleport userfunction is set to only allow 115 in one jump. Any further and it breaks it up into smaller jumps.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
Rock it working but i have no idea how after that bot start my other script if i add
<end> at the end it wont start
is any command to pause script ?
or make it finish after this tp ?
I have a more complicated question: how can I realize the teleportation forward/backward using rbassist?
Teleporting to coordinates is easy, but to get it working forward may need another variable to know the current "looking direction" at the current position.
I'd say it's possible but too much work. You would have to use player.Direction and distance to calculate some coordinates. And if you want it to teleport when pressing the forward key then you would have to intercept the key presses. You wouldn't be able to use a mouse. A big problem would be you wouldn't know what Y value to use. If you use a value the same height as the player and you are facing a slope then it will try to teleport into the slope which will fail. I suspect even if there is just a bump in the ground in front of you it will fail to teleport past it because it can't teleport through the bump. In the end it wouldn't work very well.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
Hi Rock! i'm sorry if i revived this old thread.. i wanted to learn on how to use this teleport function and make waypoints using teleport.. i already have the teleport userfunction and i have been using the cot_tele, and waypoints for the AT (million thanks to you ^_^)
I dont know if there is any thread here that teaches on how to use this function.
I want to use this on my waypoint for my dailies in rorazan..
heres the code:
teleport is usually used for specific needs or just to go faster but usually in instances. It's not a good idea to teleport outside where others can see you. But if you still want to do it the easiest way is to use the 'teleportToWP()' function that teleports to the next waypoint. Just put it at the end of each waypoint.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
Just put it at the end of each waypoint where you want it to teleport to the next waypoint. So just before "</waypoint>". If the waypoint is too far it will teleport there in shorter hops. If you teleport too far too fast it will pull you back so for traveling, I don't think it would help much. teleport is mainly useful when you can teleport somewhere nearby, do something there that takes a bit of time like collecting something, then teleport to another nearby point and do something else, etc. That's why it's ideal for minigames.
If you just want to see it in action then start up the commandline waypoint file and enter teleport function directly. I suggest you use the 4th option to make it relative. Example, to add 10 to the Z axis use
You normally can't teleport through things. You might even have problems if there is a hill between you and your teleport destinations as it will try to teleport through the hill. You will just have to experiment with what will work. You can try smaller steps and bigger pauses at each waypoint if you like. There are 2 functions for changing them.
rock5 wrote:You normally can't teleport through things. You might even have problems if there is a hill between you and your teleport destinations as it will try to teleport through the hill. You will just have to experiment with what will work. You can try smaller steps and bigger pauses at each waypoint if you like. There are 2 functions for changing them.
You could put them anywhere but once a setting gets changed it stays changed. So the most likely best place to put them is in the onload of the waypoint file where you intend to use the teleport related function.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.