Re: Message script bug? [message #368085 is a reply to message #368071] |
Tue, 20 January 2009 10:53 |
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?
|
|
|