Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Spawning GDI_MRLS falls through floor
Spawning GDI_MRLS falls through floor [message #227370] Thu, 19 October 2006 18:35 Go to previous message
FeaR is currently offline  FeaR
Messages: 87
Registered: January 2006
Location: Netherlands
Karma:
Recruit
Does anybody know why the GDI_MRLS falls through the floor when
a script spawns it?

EG: Kill the CnC_GDI_MRLS will spawn a GDI_MRLS (one you cant enter)
as the "wreckage" and will replace with a CnC_GDI_MRLS when repaired.
But.. it falls through the floor always :S

		if (strstr(Commands->Get_Preset_Name(obj),"CnC_GDI_MRLS")) {
			DestroyedTank = Commands->Create_Object("GDI_MRLS",DeadPlace);
			Commands->Set_Facing(DestroyedTank,Facing);
			Commands->Attach_Script(DestroyedTank,"KAK_Vehicle_Death","1");
		}

...

			else if (strstr(Commands->Get_Preset_Name(obj),"GDI_MRLS"))
			{
				DeadPlace.Z += (float)1;
				DestroyedTank = Commands->Create_Object("CnC_GDI_MRLS",DeadPlace);
			}

Above is the code that i changed in ssaow 1.5's aow.cpp, is there
anything wrong here? Or is it a vage bug that it always falls through
the floor? :S

Thanks for your help Smile
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3dmax8 + w3dsdk
Next Topic: Looking for a texture artist...
Goto Forum:
  


Current Time: Tue Jun 25 15:55:49 MST 2024

Total time taken to generate the page: 0.00849 seconds