Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » crate question
Re: crate question [message #271018 is a reply to message #270832] Thu, 05 July 2007 17:05 Go to previous messageGo to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma:
General (4 Stars)
thanks bud so im a lil mixed up so the crate only wont spawns for 200 sec every tiem u get ti and second one jsut delete that crate if it spawns before 200 sec? i think number 2 sounds good

ok this is what i added just like u put
void MDB_SSGM_Crate::Created(GameObject *obj) {
	PickedUp = false;
	if (!Settings->EnableCrates	|| Settings->GameMode == 3 || Settings->GameMode ==	4) {
		Commands->Destroy_Object(obj);
		return;
	}
	else if	(Settings->EnableCrates	&& Settings->EnableNewCrates) {
		if (Data->CrateExists || (The_Game()->GameDuration_Seconds - Data->CrateLastPickup) < 360) {
			Commands->Destroy_Object(obj);
			return;
		}
		Data->CrateExists = true;
		Commands->Set_Model(obj,"vehcol2m");
	}
	Set_Is_Powerup_Persistant(obj,true);
	Set_Powerup_Always_Allow_Grant(obj,true);
	Set_Powerup_Grant_Sound(obj,0);		
}

so if money crates show up before the time is up it will destroy itself and all other crates and everything else whould be normal and the same?
 
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: W3D export settings & LE Settings for invisible collision boxes
Next Topic: Ressurection mod --> Muzzle Flash
Goto Forum:
  


Current Time: Thu Jan 02 16:05:59 MST 2025

Total time taken to generate the page: 0.00931 seconds