Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts
scripts [message #351555] Sun, 21 September 2008 06:04 Go to next message
snazy2000 is currently offline  snazy2000
Messages: 67
Registered: December 2007
Karma: 0
Recruit
is there any way of detecting if a player attacted??
i fond this


if (!(Is_Script_Attached(o, "JFW_Stealth_Generator_Ignored"))) 



but can this be changed to "",""

and is there away of and fuction that can make 1 caht command do another chat command


made up



Do_Chat_Command("TEST2");  





eg



class TESTChatCommand : public ChatCommandClass {
   void Triggered(int ID,const TokenClass &Text,int ChatType) {
Do_Chat_Command("TEST2");
   }
};
ChatCommandRegistrant<TESTChatCommand> TESTChatCommandReg("!eg",CHATTYPE_ALL,0,GAMEMODE_AOW);  
  
Re: scripts [message #351676 is a reply to message #351555] Mon, 22 September 2008 04:20 Go to previous messageGo to next message
snazy2000 is currently offline  snazy2000
Messages: 67
Registered: December 2007
Karma: 0
Recruit
can any 1 help
Re: scripts [message #351681 is a reply to message #351555] Mon, 22 September 2008 04:47 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
It would help if we knew what you were actually trying to do. Don't know about anyone else but I can't make out a work you've typed there.
Re: scripts [message #351738 is a reply to message #351555] Mon, 22 September 2008 10:13 Go to previous message
wittebolx is currently offline  wittebolx
Messages: 332
Registered: May 2007
Location: the netherlands
Karma: 0
Recruit
if im reading this ok he wants a chat command that activates another command/script.

and a script that detects who attacked you like the one BR has.


Previous Topic: Tiberian Wrath Update!
Next Topic: cs
Goto Forum:
  


Current Time: Thu Jan 02 02:01:30 MST 2025

Total time taken to generate the page: 0.00736 seconds