Page 1 of 1
Add LISTEX_FLAG_CONCEALED to ListMobilesNearLocationEx
Posted: Thu May 04, 2006 4:28 am
by Lagoon
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.
Posted: Thu May 04, 2006 6:01 pm
by Austin
Done

Posted: Thu May 04, 2006 6:23 pm
by Lagoon
Thanx, I really appreciate that

Posted: Thu May 04, 2006 8:07 pm
by MontuZ
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.

Posted: Thu May 04, 2006 9:29 pm
by CWO
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....
Posted: Fri May 05, 2006 12:44 am
by Lagoon
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
Posted: Fri May 05, 2006 12:06 pm
by Yukiko
Wow! Now that's what I call service.
*smiles*
I hope Lagoon tipped you big for that Austin.