Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[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
252
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