Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » is stealth
Re: is stealth [message #471633 is a reply to message #471583] Fri, 13 July 2012 15:47 Go to previous messageGo to previous message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma:
Colonel
Is_Stealth_Enabled was added in beta 5 and is what you want, however it seems to be broken and only works for soldiers. You can try SmartGameObj::Is_Stealth_Enabled instead, except it isn't exported. Try adding the following to your plugin and see if it works.

bool SmartGameObj::Is_Stealth_Enabled()
{
	return StealthEnabled;
}




Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )

[Updated on: Sat, 14 July 2012 03:59]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Xcc_Mixer
Next Topic: set object type for vehicles
Goto Forum:
  


Current Time: Fri Dec 20 09:35:10 MST 2024

Total time taken to generate the page: 0.00657 seconds