Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Death Zone Script
Death Zone Script [message #303016] Thu, 13 December 2007 23:50 Go to previous message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma:
General (3 Stars)
Here is a Death Zone Script by Reborn

you can chose what player type is affected by the death zone.


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,"Shrapnel",false);

}


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


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


http://s18.postimage.org/jc6qbn4k9/bricks3.png
 
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: Wed Jan 01 21:50:15 MST 2025

Total time taken to generate the page: 0.00826 seconds