PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Mobile MethodScripts (Both NPC and PC)

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Feature Suggestions
Display posts from previous:   

Author Message
Mithril



Joined: 04 Feb 2006
Posts: 25

PostPosted: Sun Feb 05, 2006 1:48 pm    Post subject: Mobile MethodScripts (Both NPC and PC) Reply with quote

Would be tremendously helpful if we could add MethodScripts for mobiles like we can for items. I'm not sure how difficult this is to do, but it would certainly be a very big boon scripting wise.

Author Message
Austin
POL Developer


Joined: 30 Jan 2006
Posts: 355
Location: San Diego, California

PostPosted: Tue Jun 27, 2006 8:00 am    Post subject: Reply with quote

Working on something for this...
I proposed this to the development team and it was agreed its an idea worth persuing.

Quote:

Heres something I thought up for future builds.. could be good, could be bad?

Global method scripts.
Everything has a TypeOf() name right?

How about a config file like (mostly pseudo to get the idea across)

globalmethods.cfg
MethodScript Array
{
MethodScript xxxx
}
MethodScript UObject
{
MethodScript xxxx
}
MethodScript Item
{
MethodScript xxx
}

So if you have an item, you could access a custom method.
It would first look at its itemdesc.cfg method, if it isnt found, check the global Item methods,
then go up the heirarchy to UObject and see if it is there.

Since it lets you define one for any object, you could even set methods on an array
people could script Array.Grep() or something? What do you all think?

-Austin

Author Message
itec



Joined: 10 Feb 2006
Posts: 35
Location: Finland

PostPosted: Sat Feb 16, 2008 6:25 pm    Post subject: Reply with quote

Since it's almost two years ago this was suggested and it is still a great idea, did this feature get any closer to being made? It really should! It's that good.

Post new topic   Reply to topic    PenUltima Online Forum Index -> Feature Suggestions All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty