PenUltima Online

It is currently Sun Oct 12, 2008 1:44 am

All times are UTC - 8 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Add LISTEX_FLAG_CONCEALED to ListMobilesNearLocationEx
PostPosted: Thu May 04, 2006 4:28 am 
Offline

Joined: Sun Mar 05, 2006 7:25 am
Posts: 118
Location: Italy
Please add LISTEX_FLAG_CONCEALED to ListMobilesNearLocationEx
concealment may be used in custom scripts for purposes different from the original intent of the developers. Personally I use it to give characters with very high stealth the ability to run while hidden. Sicne I have player characters concealed I need a function to list them together with visible and invisible characters. I think the best thing to achive this would be adding a LISTEX_FLAG_CONCEALED flag, which won't break any existing script and will add a useful functionality.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 04, 2006 6:01 pm 
Offline
POL Developer
User avatar

Joined: Wed Jan 25, 2006 2:30 am
Posts: 421
Location: San Diego, California
Done :)

_________________
-Austin


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 04, 2006 6:23 pm 
Offline

Joined: Sun Mar 05, 2006 7:25 am
Posts: 118
Location: Italy
Thanx, I really appreciate that :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 04, 2006 8:07 pm 
Offline
User avatar

Joined: Fri Feb 10, 2006 8:08 am
Posts: 327
Location: Myrtle Beach, South Carolina
What about;

LISTEX_FLAG_POISONED
LISTEX_FLAG_FROZEN
LISTEX_FLAG_PARALYZED

It's scriptable, but so is all those other things right? I know I'd use them for new spells or something. :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 04, 2006 9:29 pm 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 772
Location: Chicago, IL USA
well thats scriptable. Concealed were excluded automatically by this command and there was no way to find out unless you possibly scan everyone online for their XY....


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 05, 2006 12:44 am 
Offline

Joined: Sun Mar 05, 2006 7:25 am
Posts: 118
Location: Italy
To CWO: of course, there's also another way, one can use ListObjectInBox which lists concealed mobiles and trash all non-mobile objects... but both solutions are far from optimized, I definitely prefere the presence of a fag for a dedicated function like ListMobileNearLocationEx.

To Unreal: I can't see the need for that. Adding those flags won't give you better performance than filtering the results of the function in the script because I don't think the devs have the intention to keep dedicated lists of poisoned, frozen and paralyzed mobiles (inside the core). And those categories of mobiles are already included in the list. I can't see the problem in using an if statement inside a foreach to find mobile poisoned, paralyzed or frozen. And adding those flags will break scripts because, since flags add categories, the normal flag should be deprived of poisoned, paralyzed and froxen mobiles. Honestly I see it as a forced addition


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 05, 2006 12:06 pm 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1154
Location: Southern Central USA
Wow! Now that's what I call service.

*smiles*

I hope Lagoon tipped you big for that Austin.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl