Author |
Can i get AI roaches to cloak? |
Barthezzz Fleet Admiral
Joined: May 31, 2001 Posts: 5630 From: The Netherlands
| Posted: 2002-12-19 03:35  
Can i? If yes how?
Would we cool if there was a way cus then we could make Anti roach tutoials.
_________________
|
Croven Cadet
Joined: June 07, 2002 Posts: 128 From: Unknown
| Posted: 2002-12-19 07:03  
yeah, and larves too (uncloak when fireing), if thats not what you ment, and if it is what you meant, we should be able to get transports to cloak too.
_________________
|
DOM700 [-IMO-] Fleet Admiral
Joined: July 26, 2001 Posts: 3175 From: Eckental, Germany, Sol-System
| Posted: 2002-12-19 07:30  
Somewhere is this forum is a script, which spawns Kluth ships and makes them activate their cloak, just look for it, one of the script someone said it won't run
_________________ If the buildings on your planets disappear, guess who was there....
Never forget what you fight for
I have earned my betatester badge for being part of the open beta
|
Chromix Cadet
Joined: June 29, 2001 Posts: 3052
| Posted: 2002-12-19 08:05  
The hard way:
Get a reference to the ship and find its cloak by iterating over all the gadgets it has. So you now have a reference to it´s cloak and can simply use useGadget2() to activate it.
The simply way:
A one-liner, way too simple and not generic enough.
You learn much more doing it the hard way, if you still want to do it the simple way it´s up to you to find out what that way is
btw -> scripting forum
_________________
|