Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Message script bug?
Re: Message script bug? [message #368085 is a reply to message #368071] Tue, 20 January 2009 10:53 Go to previous messageGo to previous message
Genesis2001
Messages: 1397
Registered: August 2006
Karma:
General (1 Star)
cAmpa wrote on Tue, 20 January 2009 09:10

void JFW_Message_Send_Custom_Team::Custom(GameObject *obj,int message,int param,GameObject *sender)
{
	if (message == Get_Int_Parameter("Message"))
	{
		int team = Get_Int_Parameter("Player_Type");
		Create_2D_Sound_Team(Get_Parameter("Sound"),team);
		Send_Message_Team(team,Get_Int_Parameter("Red"),Get_Int_Parameter("Green"),Get_Int_Parameter("Blue"),Get_Parameter("Message"));
		if (Get_Int_Parameter("Delete"))
		{
			Destroy_Script();
		}
	}
}


This is the code and yes it looks like you are right.




What's the ScriptRegistrant look like?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Repair Ray?
Next Topic: Lightmapping
Goto Forum:
  


Current Time: Fri Dec 20 12:40:21 MST 2024

Total time taken to generate the page: 0.00817 seconds