|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
Join Date: Jan 2004
Location: England
Age: 20
Posts: 442
|
Follow Command Description: A way to follow players, or other staff, without having to use the .admin menu and keep on clicking Go To or other more inefficient ways of doing so. When you are following someone using the [follow command it moves you to their location every few seconds without you having to do anything. When you have chosen your target it pops up a small gump to show you the name of the person you are following and a button to cancel following them. Installation: Download the FollowCommand.zip below. Unzip the Follow.cs into the Commands folder or any folder of your choosing in your Scripts directory. Restart your server and you are ready to go. Usage: Type [follow in game (Counselor +) and target who you wish to follow. If the player that you target has a higher accesslevel than you then you will not be able to follow them. If you are following a staffmember with accesslevel equal to your own and they go invis then you will stop following them, unless you are in their Visibility List in which case you will continue to follow them. If you or your target go offline then you will stop following them. |
|
|
|
|
#3 (permalink) |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 28
Posts: 4,952
|
Nice, but instead of a timer how about following the person every time they move?
__________________
Jeff Boulanger ConnectUO - Creator/Core Developer Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
#4 (permalink) |
|
Forum Novice
Join Date: Jul 2003
Location: NY
Age: 38
Posts: 973
|
There is also a way to do this without this script. I believe it is a client thing, but all you do is hold alt down and click on the mobile you want to follow. Players can use this anytime they want, but not sure if they can follow staff with it.
This is not trying to put your script down or anything, just making it known about what can be done through the client.
__________________
![]() Your fate is sealed in the end of Time..... |
|
|
|
|
#5 (permalink) | |
|
Forum Expert
|
Quote:
i think that the timer is better than every move....cause it would suck being thrown right on top of them every time they move a tile great script...keep it up |
|
|
|
|
|
#6 (permalink) | |
|
Forum Expert
Join Date: Jan 2004
Location: England
Age: 20
Posts: 442
|
Quote:
I decided to use the timer instead of the movement eventsink purely because of what PyroTech said above, it would be a good way of doing it though. |
|
|
|
|
|
#7 (permalink) | |
|
RunUO Forum Moderator
|
Quote:
You can always use the OnMove event but have a datetime variable that is reset every 5 seconds. Than you simply make sure to move once every 5 seconds or so. It'll save tons of cpu...
__________________
I always try to help
![]() Sometimes, I don't know how.... ![]() My Web Page Forum Rules ------------------------------------------------------------- Extensive OWLTR System | Token System | World Teleporters ------------------------------------------------------------- |
|
|
|
|
|
#8 (permalink) |
|
Forum Expert
Join Date: Jan 2004
Location: England
Age: 20
Posts: 442
|
Yeh thats a really good idea actually Daat. I try to steer clear of timers when I can now usually, DateTimes are great
![]() Edit: However, if the person recalls away and then doesnt move you will be left at their old location and won't be moved to where they are now. This means that in the onmovement eventsink you would have to check to make sure that the hastable contains the player that is moving, it will also have to check the movement of the person you are following and your own movement, would that not be as cpu using as a timer...? lol Last edited by tobyjug; 04-18-2006 at 06:45 AM. |
|
|
|
|
#9 (permalink) | |
|
Forum Expert
|
Quote:
![]() especially since the command wouldn't be used by a bunch of people at one time i would think.... but hey, like i said....im not a programmer lol ![]() |
|
|
|
|
|
#12 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|