Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Is_Object_Visible explanation
Re: Is_Object_Visible explanation [message #469237 is a reply to message #469226] Wed, 13 June 2012 12:27 Go to previous messageGo to previous message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma:
General (2 Stars)

By "visible" it sounds like you're talking about whether an object is cloaked or not, not if it's simply visible to another object (I don't know that that even takes stealthing into account either). You could always make a Spy_Script then attach it to the spy when they pick up the crate and if you want to check if somebody's a spy, simply do

if (Is_Script_Attached(obj,"My_Spy_Script"))
{
   ...do stuff for spies
}


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AI params questions
Next Topic: New 3rd Party to host legacy DCOM Renegade content.
Goto Forum:
  


Current Time: Mon Jul 15 07:04:45 MST 2024

Total time taken to generate the page: 0.00661 seconds