Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Death Zone Script
Re: Death Zone Script [message #303096 is a reply to message #303016] Fri, 14 December 2007 12:56 Go to previous messageGo to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3823
Registered: July 2006
Location: USA
Karma:
General (3 Stars)
void reb_team_death_Zone::Entered(GameObject *obj,GameObject *enter)
{
	int x;
	x = Get_Int_Parameter("Player_Type");
	if (CheckPlayerType(enter,x))
	{
		return;
	}
	if (!Commands->Is_A_Star(enter))
	{
		return;
	}
Commands->Apply_Damage(enter,99999,"Blamokiller",false);

}


ScriptRegistrant<reb_team_death_Zone> reb_team_death_Zone_Registrant("reb_team_death_Zone","Player_Type:int");


class reb_team_death_Zone : public ScriptImpClass {
	void Entered(GameObject *obj,GameObject *enter);
};

Fixed that.

Is it meant to only kill the player and no ai?


[Updated on: Fri, 14 December 2007 12:57]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: {Help}Mechs in Renegade
Next Topic: BGate Animation
Goto Forum:
  


Current Time: Sat Aug 09 13:36:11 MST 2025

Total time taken to generate the page: 0.00792 seconds