Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » making turrets destroyable by team
Re: making turrets destroyable by team [message #485221 is a reply to message #485204] Sat, 11 January 2014 11:23 Go to previous messageGo to previous message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma:
General (2 Stars)

	if (Get_Object_Type(damager) == Get_Object_Type(obj))
	{
		if (damage > 0.0f)
		{
			Commands->Apply_Damage(obj, damage,"Explosive",damager);
		}
	}


Something like this would apply the damage of the shooter to the turret if the team were the same. This way you can team the turret to GDI but still damage it but it would still only attack Nod.

Just an idea :/


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: scripts question
Next Topic: Thank you Renegade
Goto Forum:
  


Current Time: Sun Dec 15 01:51:00 MST 2024

Total time taken to generate the page: 0.01811 seconds