Welcome aboard Visitor...

Daily Screenshot

Server Costs Target


84% of target met.

Latest Topics

- so i talked with Massi »
- See Commands »
- Now the fun begins »
- Qand answers have returned »
- Call to Arms »
- All Species 8572 Report in »
- hi there »
- Anyone still playing from a decade ago or longer? »
- Game still active. NICE! »
- help me »

Development Blog

- Roadmap »
- Hello strangers, it’s been a while... »
- State of DarkSpace Development »
- Potential planetary interdictor changes! »
- The Silent Cartographer »

Combat Kills

Combat kills in last 24 hours:
No kills today... yet.

Upcoming Events

- Weekly DarkSpace
11/23/24 +1.3 Days

Search

Anniversaries

No anniversaries today.

Social Media

Why not join us on Discord for a chat, or follow us on Twitter or Facebook for more information and fan updates?

Network

DarkSpace
DarkSpace - Beta
Palestar

[FAQ
Forum Index » » Basic Scripting Discussion » » Can i get AI roaches to cloak?
 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.
_________________


  Goto the website of Barthezzz
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.
_________________


  Email Croven
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

  Email DOM700 [-IMO-]   Goto the website of DOM700 [-IMO-]
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
_________________


  Email Chromix
Page created in 0.038915 seconds.


Copyright © 2000 - 2024 Palestar Inc. All rights reserved worldwide.
Terms of use - DarkSpace is a Registered Trademark of PALESTAR