Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Stealth Suit POW  () 1 Vote
Re: Stealth Suit POW [message #486623 is a reply to message #486621] Wed, 05 March 2014 11:31 Go to previous messageGo to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3808
Registered: July 2006
Location: USA
Karma:
General (3 Stars)
Sorry didn't read Sad

Then yes,
void Enable_Stealth_Poke::Poked(GameObject *obj, GameObject *poker)
 {
 Commands->Enable_Stealth(poker,true);
 }


would work, but if you wanted something that goes away after a time period you could also do:
void Enable_Stealth_Poke::Poked(GameObject *obj, GameObject *poker)
{
  Commands->Attach_Script(poker,"TDA_Stealth_Armor","300.0");// 300 seconds
  Commands->Send_Custom_Event(obj,poker,1000,0,0);
}


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: manual harvesting scripts
Next Topic: Di3HardNL Model Requests
Goto Forum:
  


Current Time: Sun Oct 06 08:21:11 MST 2024

Total time taken to generate the page: 0.00986 seconds