Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Making a buildup with Timers and Set_Position?
Re: Making a buildup with Timers and Set_Position? [message #378439 is a reply to message #378399] Thu, 02 April 2009 11:31 Go to previous messageGo to previous message
mrãçķz is currently offline  mrãçķz
Messages: 3069
Registered: August 2007
Karma:
General (3 Stars)
Permabanned for trying and failing DDoS
I think i did send my BuildUp code to wittebolx a while ago, ask him

or try this

void NodCYTimer::Timer_Expired(GameObject *obj, int number) {
	Vector3 position;
	position = Commands->Get_Position(obj);
		if (number == 1){
			position.Z += 1.0f;
			Commands->Set_Position(obj,position);
		}
		if (number == 2){
			position.Z += 2.0f;
			Commands->Set_Position(obj,position);
		}
		if (number == 3){
			position.Z += 3.0f;
			Commands->Set_Position(obj,position);
		}
		if (number == 4){
			position.Z += 4.0f;
			Commands->Set_Position(obj,position);
		}
		if (number == 5){
			position.Z += 5.0f;
			Commands->Set_Position(obj,position);
		}
		if (number == 6){
			position.Z += 6.0f;
			Commands->Set_Position(obj,position);
		}
		if (number == 7){
			position.Z += 7.0f;
			Commands->Set_Position(obj,position);
		}
		if (number == 8){
			position.Z += 8.0f;
			Commands->Set_Position(obj,position);
		}
		if (number == 9){
			position.Z += 9.0f;
			Commands->Set_Position(obj,position);
		}
		if (number == 10){
			position.Z += 10.0f;
			Commands->Set_Position(obj,position);
		}
		if (number == 11){
			position.Z += 11.0f;
			Commands->Set_Position(obj,position);
		}
		if (number == 12){
			position.Z += 12.0f;
			Commands->Set_Position(obj,position);
			Console_Input("snda m00bgwf_dsgn0004i1evag_snd.wav");
		}
}

[Updated on: Thu, 02 April 2009 11:35]

Report message to a moderator

 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Scrin's Ultimates Collection (update)
Next Topic: extending?
Goto Forum:
  


Current Time: Thu Jan 23 10:41:38 MST 2025

Total time taken to generate the page: 0.00737 seconds