• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[REQUEST] How to replace the revive bottom for an instant revive function

Junior Spellweaver
Joined
Apr 5, 2012
Messages
148
Reaction score
5
i mean how to make an revive automatically without click any bottom to revive your player, somebody know something about this any source have this feature?

so when you dead in map and click on Exit to main menu your survivor appear as Alive instead click on Revive to resurrect your survivor
 
Elite Diviner
Joined
Nov 28, 2014
Messages
437
Reaction score
266
search
Code:
if(gUserProfile.ProfileData.ArmorySlots[gUserProfile.SelectedCharID].Alive == 0)

change all for this
Code:
if(gUserProfile.ProfileData.ArmorySlots[gUserProfile.SelectedCharID].Alive == 0) // dead	{		// for now, use hard coded revive time		//int timeToReviveInSec = 00*00*00*00;				Scaleform::GFx::Value var[3];		//int timeLeftToRevive = R3D_MAX(gUserProfile.ProfileData.ArmorySlots[gUserProfile.SelectedCharID].SecToRevive - int(r3dGetTime() - gTimeWhenProfileLoaded), 0);		//var[0].SetInt(timeLeftToRevive);		//int perc = 000-int((float(timeLeftToRevive)/float(timeToReviveInSec))*000.0f);		//var[1].SetInt(perc);//#ifdef FINAL_BUILD//		var[2].SetBoolean(timeLeftToRevive==0);//#else		var[2].SetBoolean(true);//#endif		gfxMovie.Invoke("_root.api.updateDeadTimer", var, 3);	}

I hope that's what you're trying to say.
 
Upvote 0
Back
Top