How do you see invisible units?

RogerBacon

King
Joined
Nov 16, 2003
Messages
649
I've made a new unit (assassin) that I want to be invisible to all units except other assassins.

So, in the XML file I put
<bInvisible>1</bInvisible>

and to see other assassins I thought
<bCounterSpy>1</bCounterSpy>
would do it but it doesn't.

So, I looked how subs worked and found:

<Invisible>INVISIBLE_SUBMARINE</Invisible>
<SeeInvisible>INVISIBLE_SUBMARINE</SeeInvisible>
...
<bInvisible>0</bInvisible>

Strange. The sub doesn't have a "1" for invisible but it has those other tags.

I tried adding tags like that for my unit:
<Invisible>INVISIBLE_ASSASSIN</Invisible>
<SeeInvisible>INVISIBLE_ASSASSIN</SeeInvisible>

but it didn't work.

Does anyone know how to make a unit invisible to everyone but it's own kind?

Roger Bacon
 
I know it's not always easy, I've searched too and haven't been able to find what I was looking for. But thankfully when I've needed help there have been others kind enough to lend a helping hand.

I hope it works now :)
 
Back
Top Bottom