| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Tracking fig hits. https://mail.black-squirrel.com/viewtopic.php?f=15&t=21297 |
Page 1 of 1 |
| Author: | Kaus [ Wed Dec 17, 2008 6:12 pm ] |
| Post subject: | Tracking fig hits. |
One of the features im entertaining is to create a fig array of x-hops from jumppoint or home base and have the script respond to the fighits as needed. Kinda like a sentry script, eventually I'd like to be able to remove completely the need for a t-lock by having the script check right before lock for fig integrity or the defined figs. My issue is im not quite sure how to attack the problem. -My guess is I could use a array (static I'd assume) and while statement from homebase or jumppoint? -Would a BFS be more effiecent over a while statement, assuming I'm looking to only create a array or 6- <100 figs depending on how many jumppoints or home figs are out? -How do most scripters remove fighits from a static array? |
|
| Author: | Singularity [ Thu Dec 18, 2008 2:31 am ] |
| Post subject: | Re: Tracking fig hits. |
For distance, use the getAllCourses... Linky: http://www.navhaz.com/files/script.html#CMD_94 Gives you a 2d array of distance to a specified sector. Great for monitoring a limited number of points. Quote: How do most scripters remove fighits from a static array? I just use parms. I write to them as they get hit, read from them as needed. But I still use tlock checking. During a grid fest sometimes the exact order of things gets a bit off, especially if they happen very very close to one another. Not a good idea to risk fusing. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|