Page 1 of 1

Custom command to all my drones/remote ships?

Posted: Sat, 7. Feb 04, 21:19
by ZeligtheLiar
I've searched high and low, but still haven't found the line for scripting in a command to all my drones or remote ships of blah class in the sector to do something. I'd like to give my drones the "None" command all at once...

Can anyone here point me in the right direction?

Thanks

Posted: Sat, 7. Feb 04, 23:05
by moggy2
use the find ships command, you should be able to set the class of ship to fighter drone, and using the flag [find.multiple] will result in a Array of all your fighter drones. After that just loop through the array giving each one the command.

Posted: Sun, 8. Feb 04, 07:34
by ZeligtheLiar
Thanks moggy2, I guess I still have a lot to learn. I have the find ships command finding the drones but I still dunno how to "loop through the array". :)

Back to the scripts...

I'm still just learning all this, and self-taught so I'm figuring things out by reading the existing scripts. It's a good thing they're in english, or a reasonable facsimile. I hate to be that guy that says "Hey you talented people, stop what you're doing and write this for me," so I'm trying to muddle through it myself. I don't mind asking questions though. That's the only way to get answers, after all.