Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » C++ Help request
Re: C++ Help request [message #420778 is a reply to message #420409] Wed, 24 February 2010 08:27 Go to previous messageGo to previous message
Raptor RSF is currently offline  Raptor RSF
Messages: 210
Registered: July 2007
Location: Netherlands
Karma:
Recruit
I also constructed a new piece of code, while I was trying to make it work. Maybe this is getting more in the direction, but I failed another time to make it work. Huh

Something like this:

	if (RunIt == true)
	{
		StopTime_1 = current_time + 5000;
		RunIt = false;
	}

	if (current_time == StopTime_1)
	{
		HealthVisible = true;
		StopTime_2 = current_time + 5000;
		Commands->Create_2D_WAV_Sound("stpccw1.wav"); /* test, and it seems that the sound is never played ingame */
	}

	if (current_time == StopTime_2)
	{
		HealthVisible = false;
		RunIt = true;
	}



Rencom server Fan - Marathon#1

http://bfbc2.statsverse.com/sig/clean1/pc/Raptor_RSF.png
 
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: Help installing LUA 5?
Next Topic: C&C Volcano
Goto Forum:
  


Current Time: Sun Dec 22 02:15:18 MST 2024

Total time taken to generate the page: 0.00732 seconds