Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » More Problems
Re: More Problems [message #260122 is a reply to message #260059] Tue, 22 May 2007 10:35 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
joe937465 wrote on Tue, 22 May 2007 03:30


2)how can i make it where when u kill someone u see a giant explosion or ion strike i did that explosion kill and selected an object like explosion no building and edit the object (present) itself and after 5 trys cant get it to work any help?




If you are running ssaow 1.5 then go to the void M00_GrantPowerup_Created::Killed(GameObject *obj, GameObject script, then add this line to it:
Commands->Create_Explosion("Explosion_IonCannonBeacon",Commands->Get_Position(obj),0);, so it would look something like this:



void M00_GrantPowerup_Created::Killed(GameObject *obj, GameObject *shooter)
{
	if (stricmp(Get_Parameter("WeaponDef"),"POW_Pistol_Player") == 0)
					Commands->Create_Explosion("Explosion_IonCannonBeacon",Commands->Get_Position(obj),0);
	{
		


Then compile it.

This will make a massive ion boom when a player dies =]



 
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
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
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SCRIPTS DDL
Next Topic: raped temps.ddb
Goto Forum:
  


Current Time: Thu Jan 09 09:32:48 MST 2025

Total time taken to generate the page: 0.01416 seconds