Go Back   RunUO - Ultima Online Emulation > RunUO > Modification Suggestions

Modification Suggestions This is where you can suggest a modifcation to RunUO!

Reply
 
Thread Tools Display Modes
Old 12-29-2006, 04:18 PM   #1 (permalink)
Newbie
 
Join Date: Aug 2005
Posts: 94
Default Extended OnMoveOff() and OnMoveOver() functionality

I would like to see these functions be called if a player (or mob) teleports on/off of an Item, rather than just walking. I was working on making some "trigger tiles" that would perform various actions when they were stepped on/off of and noticed that if players stepped onto the tile, then teleported off, that it would stay triggered. I ended up using a TimeStateCallback every .25 seconds to check if they were still on the tile, but I never came up with a good working solution for checking if the tile had been teleported on to.
FrayedString is offline   Reply With Quote
Old 12-30-2006, 02:49 AM   #2 (permalink)
Forum Expert
 
pacolaco2's Avatar
 
Join Date: Mar 2005
Age: 17
Posts: 1,117
Send a message via AIM to pacolaco2 Send a message via MSN to pacolaco2 Send a message via Yahoo to pacolaco2
Default

Quote:
Originally Posted by FrayedString View Post
I would like to see these functions be called if a player (or mob) teleports on/off of an Item, rather than just walking. I was working on making some "trigger tiles" that would perform various actions when they were stepped on/off of and noticed that if players stepped onto the tile, then teleported off, that it would stay triggered. I ended up using a TimeStateCallback every .25 seconds to check if they were still on the tile, but I never came up with a good working solution for checking if the tile had been teleported on to.
Well, for teleported onto, you could modify the spell script to check the target, and if the target is one of your 'trigger' tiles, then it would be activated if targeted succesfully.
__________________
Vaughn Peterson,
Kate Maclellan,
Drew Cook,
William Soverino,
rest in peace.
pacolaco2 is offline   Reply With Quote
Old 12-31-2006, 04:17 AM   #3 (permalink)
Forum Expert
 
Kenko's Avatar
 
Join Date: Dec 2004
Location: Land of the Poor
Posts: 1,828
Send a message via MSN to Kenko
Default

And the same if they teleport off that tile.
Kenko is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5